diff options
| author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-10-24 08:57:08 -0700 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-10-24 08:57:08 -0700 |
| commit | bef554d18bcb14492e2513b0759407e4b4581c9c (patch) | |
| tree | 982641ed9e574215ffd4b0e15ccbbfb588f4023d /util/new_keymap.sh | |
| parent | 9ed0c2d57b4f5014c24ea48a6fe448b69789957b (diff) | |
| download | qmk_firmware-bef554d18bcb14492e2513b0759407e4b4581c9c.tar.gz qmk_firmware-bef554d18bcb14492e2513b0759407e4b4581c9c.zip | |
Bug: Users had to be in the /util directory to run the script (#4228)
Diffstat (limited to 'util/new_keymap.sh')
| -rwxr-xr-x | util/new_keymap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/new_keymap.sh b/util/new_keymap.sh index b09f3dd0c..73cc9e8cc 100755 --- a/util/new_keymap.sh +++ b/util/new_keymap.sh | |||
| @@ -18,7 +18,7 @@ if [ -z "$USERNAME" ]; then | |||
| 18 | exit 1 | 18 | exit 1 |
| 19 | fi | 19 | fi |
| 20 | 20 | ||
| 21 | cd .. | 21 | cd "$(dirname "$0")/.." |
| 22 | 22 | ||
| 23 | if [ ! -d "keyboards/$KB_PATH" ]; then | 23 | if [ ! -d "keyboards/$KB_PATH" ]; then |
| 24 | printf "Error! keyboards/%s does not exist!\n" "$KB_PATH" | 24 | printf "Error! keyboards/%s does not exist!\n" "$KB_PATH" |
