diff options
| author | Joel Challis <git@zvecr.com> | 2021-08-24 17:07:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-24 17:07:11 +0100 |
| commit | 2cade3a48300e0709f8aec68602faf90947b6738 (patch) | |
| tree | 20d4e05ccb92ebf35c7aa3ab281590302e9befa9 /util/new_keyboard.sh | |
| parent | 2827a3cf754c2eaca37a0d44a5901741f1855414 (diff) | |
| download | qmk_firmware-2cade3a48300e0709f8aec68602faf90947b6738.tar.gz qmk_firmware-2cade3a48300e0709f8aec68602faf90947b6738.zip | |
Align some quantum sub-directories (#14134)
* Misc folder tidy
* Review comments
* Remove redundant entry
Diffstat (limited to 'util/new_keyboard.sh')
| -rwxr-xr-x | util/new_keyboard.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/new_keyboard.sh b/util/new_keyboard.sh index 87b7cde0c..62e8cb9e1 100755 --- a/util/new_keyboard.sh +++ b/util/new_keyboard.sh | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
| 2 | 2 | ||
| 3 | # This script generates a new keyboard directory under keyboards/, | 3 | # This script generates a new keyboard directory under keyboards/, |
| 4 | # and copies the template files from quantum/template/ into it. | 4 | # and copies the template files from data/templates/ into it. |
| 5 | 5 | ||
| 6 | # Print an error message with the word "ERROR" in red. | 6 | # Print an error message with the word "ERROR" in red. |
| 7 | echo_error() { | 7 | echo_error() { |
| @@ -35,11 +35,11 @@ copy_templates() { | |||
| 35 | mkdir -p "$keyboard_dir" | 35 | mkdir -p "$keyboard_dir" |
| 36 | 36 | ||
| 37 | echo -n "Copying base template files..." | 37 | echo -n "Copying base template files..." |
| 38 | cp -r "quantum/template/base/." "${keyboard_dir}" | 38 | cp -r "data/templates/base/." "${keyboard_dir}" |
| 39 | echo " done" | 39 | echo " done" |
| 40 | 40 | ||
| 41 | echo -n "Copying $keyboard_type template files..." | 41 | echo -n "Copying $keyboard_type template files..." |
| 42 | cp -r "quantum/template/${keyboard_type}/." "${keyboard_dir}" | 42 | cp -r "data/templates/${keyboard_type}/." "${keyboard_dir}" |
| 43 | echo " done" | 43 | echo " done" |
| 44 | 44 | ||
| 45 | echo -n "Renaming keyboard files..." | 45 | echo -n "Renaming keyboard files..." |
