summaryrefslogtreecommitdiff
path: root/script/handle/make/file
diff options
context:
space:
mode:
Diffstat (limited to 'script/handle/make/file')
-rwxr-xr-xscript/handle/make/file13
1 files changed, 4 insertions, 9 deletions
diff --git a/script/handle/make/file b/script/handle/make/file
index 3d485ea2..0d0d6f3c 100755
--- a/script/handle/make/file
+++ b/script/handle/make/file
@@ -15,16 +15,11 @@ main()
while getopts b:c: option
do
case "${1}" in
- -b)
- shift ;;
- -c)
- mode="distclean"
- shift ;;
- *)
- err "Invalid option" ;;
+ -b) : ;;
+ -c) mode="distclean" ;;
+ *) err "Invalid option" ;;
esac
- project="${OPTARG}"
- shift
+ shift; project="${OPTARG}"; shift
done
[ -z "${project}" ] && err "project name not specified"