1
0
Fork 0
Sam Perman 2018-01-27 10:49:43 -05:00 committed by Jack Humbert
parent bceffdefca
commit f0f991dd89
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ KEYBOARD_UPPERCASE=$(echo $1 | awk '{print toupper($0)}')
cp -r quantum/template keyboards/$KEYBOARD
mv keyboards/$KEYBOARD/template.c keyboards/$KEYBOARD/$KEYBOARD.c
mv keyboards/$KEYBOARD/template.h keyboards/$KEYBOARD/$KEYBOARD.h
find keyboards/${KEYBOARD} -type f -exec sed -i "s;%KEYBOARD%;$KEYBOARD;g" {} \;
find keyboards/${KEYBOARD} -type f -exec sed -i "s;%KEYBOARD_UPPERCASE%;$KEYBOARD_UPPERCASE;g" {} \;
find keyboards/${KEYBOARD} -type f -exec sed -i'' -e "s;%KEYBOARD%;$KEYBOARD;g" {} \;
find keyboards/${KEYBOARD} -type f -exec sed -i'' -e "s;%KEYBOARD_UPPERCASE%;$KEYBOARD_UPPERCASE;g" {} \;
echo "######################################################"
echo "# /keyboards/$KEYBOARD project created. To start"