Bug: Users had to be in the /util directory to run the script (#4228)

This commit is contained in:
MechMerlin 2018-10-24 08:57:08 -07:00 committed by Drashna Jaelre
parent 9ed0c2d57b
commit bef554d18b

View File

@ -18,7 +18,7 @@ if [ -z "$USERNAME" ]; then
exit 1 exit 1
fi fi
cd .. cd "$(dirname "$0")/.."
if [ ! -d "keyboards/$KB_PATH" ]; then if [ ! -d "keyboards/$KB_PATH" ]; then
printf "Error! keyboards/%s does not exist!\n" "$KB_PATH" printf "Error! keyboards/%s does not exist!\n" "$KB_PATH"