diff --git a/payloads/nvramcui/payload.sh b/payloads/nvramcui/payload.sh index 57ed38b3a6..3d171e6949 100755 --- a/payloads/nvramcui/payload.sh +++ b/payloads/nvramcui/payload.sh @@ -2,6 +2,6 @@ # # This is a trivial payload compile & find script for abuild # -DIR=`dirname $0` -lpgcc -o $DIR/nvramcui.elf $DIR/nvramcui.c 2>&1 >/dev/null || exit 1 +DIR=$(dirname "$0") +lpgcc -o "$DIR/nvramcui.elf" "$DIR/nvramcui.c" >/dev/null 2>&1 || exit 1 echo "$DIR/nvramcui.elf"