summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorChristopher Browne <cbbrowne@ca.afilias.info>2016-06-22 11:26:26 -0400
committerChristopher Browne <cbbrowne@ca.afilias.info>2016-06-22 11:26:26 -0400
commitb0caf32741cf415a45333828f1661d9f6b72570f (patch)
tree5e2b8203ab232c0a89264e96716ebf1a859f6189 /util
parentee3c7892ad585e2e702d8975420d25ae052d97bb (diff)
parent8c1bfdf0bd9aae13d8722fd107deca40ffc7932c (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'util')
-rwxr-xr-xutil/new_project.sh22
1 files changed, 11 insertions, 11 deletions
diff --git a/util/new_project.sh b/util/new_project.sh
index b85bbc31cf..9ab8d6fbbc 100755
--- a/util/new_project.sh
+++ b/util/new_project.sh
@@ -10,18 +10,18 @@ fi
KEYBOARD=$1
KEYBOARD_UPPERCASE=$(echo $1 | awk '{print toupper($0)}')
-mkdir keyboard/$1
-mkdir keyboard/$1/keymaps
-mkdir keyboard/$1/keymaps/default
-sed -e "s;%KEYBOARD%;$KEYBOARD;g" -e "s;%KEYBOARD_UPPERCASE%;$KEYBOARD_UPPERCASE;g" quantum/template/template.h > keyboard/$KEYBOARD/$KEYBOARD.h
-sed -e "s;%KEYBOARD%;$KEYBOARD;g" quantum/template/template.c > keyboard/$KEYBOARD/$KEYBOARD.c
-sed -e "s;%KEYBOARD%;$KEYBOARD;g" quantum/template/config.h > keyboard/$KEYBOARD/config.h
-sed -e "s;%KEYBOARD%;$KEYBOARD;g" quantum/template/README.md > keyboard/$KEYBOARD/README.md
-sed -e "s;%KEYBOARD%;$KEYBOARD;g" quantum/template/Makefile > keyboard/$KEYBOARD/Makefile
-sed -e "s;%KEYBOARD%;$KEYBOARD;g" quantum/template/keymaps/default/keymap.c > keyboard/$KEYBOARD/keymaps/default/keymap.c
+mkdir keyboards/$1
+mkdir keyboards/$1/keymaps
+mkdir keyboards/$1/keymaps/default
+sed -e "s;%KEYBOARD%;$KEYBOARD;g" -e "s;%KEYBOARD_UPPERCASE%;$KEYBOARD_UPPERCASE;g" quantum/template/template.h > keyboards/$KEYBOARD/$KEYBOARD.h
+sed -e "s;%KEYBOARD%;$KEYBOARD;g" quantum/template/template.c > keyboards/$KEYBOARD/$KEYBOARD.c
+sed -e "s;%KEYBOARD%;$KEYBOARD;g" quantum/template/config.h > keyboards/$KEYBOARD/config.h
+sed -e "s;%KEYBOARD%;$KEYBOARD;g" quantum/template/README.md > keyboards/$KEYBOARD/README.md
+sed -e "s;%KEYBOARD%;$KEYBOARD;g" quantum/template/Makefile > keyboards/$KEYBOARD/Makefile
+sed -e "s;%KEYBOARD%;$KEYBOARD;g" quantum/template/keymaps/default/keymap.c > keyboards/$KEYBOARD/keymaps/default/keymap.c
echo "######################################################"
-echo "# keyboard/$KEYBOARD project created. To start"
+echo "# keyboards/$KEYBOARD project created. To start"
echo "# working on things, use the following command:"
-echo "# cd keyboard/$KEYBOARD"
+echo "# cd keyboards/$KEYBOARD"
echo "######################################################"