aboutsummaryrefslogtreecommitdiff
path: root/util/new_keyboard.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/new_keyboard.sh')
-rwxr-xr-xutil/new_keyboard.sh6
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.
7echo_error() { 7echo_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..."