aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2012-01-08 22:59:04 +0100
committerChristian Starkjohann <cs+github@obdev.at>2012-01-08 22:59:04 +0100
commit5d1ae8c08688fce349dd789e535091672ac59b65 (patch)
tree950a30c8be3e04690c981ce6c5804cc3fa82fe44 /examples
parent456ea67048dd9e316d442bed26a7d5437f6f99e9 (diff)
downloadv-usb-5d1ae8c08688fce349dd789e535091672ac59b65.tar.gz
v-usb-5d1ae8c08688fce349dd789e535091672ac59b65.tar.bz2
v-usb-5d1ae8c08688fce349dd789e535091672ac59b65.zip
GIT migration: create empty directory in script
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/hid-custom-rq/make-files.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/hid-custom-rq/make-files.sh b/examples/hid-custom-rq/make-files.sh
index 8e4feb6..74c9c82 100755
--- a/examples/hid-custom-rq/make-files.sh
+++ b/examples/hid-custom-rq/make-files.sh
@@ -12,10 +12,7 @@ if [ "$1" = remove ]; then
rm -f firmware/usbconfig.h
rm -rf firmware/usbdrv
rm -f firmware/Makefile
- rm -f commandline/set-led.c
- rm -f commandline/Makefile.windows
- rm -f commandline/Makefile
- rm -f commandline/opendevice.[ch]
+ rm -rf commandline
exit
fi
@@ -42,6 +39,7 @@ s/^# Project: .*$/# Project: hid-custom-rq example/g
p
EOF
+mkdir commandline 2>/dev/null
cat << \EOF | sed -n -f /dev/stdin ../custom-class/commandline/set-led.c >commandline/set-led.c
/^\( [*] \)\{0,1\}[+].*$/ d
s/^ [*] Project: .*$/ * Project: hid-custom-rq example/g