summaryrefslogtreecommitdiff
path: root/new_project.sh
diff options
context:
space:
mode:
authorOlivier <olivier@gid0.org>2016-04-30 16:03:52 +0200
committerOlivier <olivier@gid0.org>2016-04-30 16:03:52 +0200
commit09ea12f9ca96fa89a500a5965bf074c4347d300d (patch)
tree747caedcbd529d068d6794a72e65a5bef274ed8e /new_project.sh
parent9d48ba9713d17a8ebae99ef42bc7838402fc532f (diff)
parente7d56215deb253b44b190d12288076d03b206bdf (diff)
Merge https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'new_project.sh')
-rwxr-xr-xnew_project.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/new_project.sh b/new_project.sh
index 28de9c2f9f..7def543188 100755
--- a/new_project.sh
+++ b/new_project.sh
@@ -2,6 +2,11 @@
# Script to make a new quantum project
# Jack Humbert 2015
+if [ -z "$1" ]; then
+ echo "Usage: $0 <keyboard_name>"
+ exit 1
+fi
+
KEYBOARD=$1
KEYBOARD_UPPERCASE=$(echo $1 | awk '{print toupper($0)}')