From 5d1ae8c08688fce349dd789e535091672ac59b65 Mon Sep 17 00:00:00 2001 From: Christian Starkjohann Date: Sun, 8 Jan 2012 22:59:04 +0100 Subject: GIT migration: create empty directory in script --- examples/hid-custom-rq/make-files.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'examples') 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 -- cgit v1.2.3