diff --git a/scripts/compile_kernel.sh b/scripts/compile_kernel.sh index 844b427..9067cb0 100755 --- a/scripts/compile_kernel.sh +++ b/scripts/compile_kernel.sh @@ -25,8 +25,8 @@ if [ -d /vagrant ]; then else # running in drone build SRC_DIR=`pwd` - BUILD_USER=`whoami` - BUILD_GROUP=`whoami` + BUILD_USER=`id -u -n` + BUILD_GROUP=`id -g -n` fi LINUX_KERNEL_CONFIGS=$SRC_DIR/kernel_configs