diff --git a/.gitignore b/.gitignore index 378eac2..ed8a3ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ build +dbgbuild diff --git a/make.sh b/make.sh index bb268ed..6957992 100755 --- a/make.sh +++ b/make.sh @@ -24,6 +24,13 @@ INSTALL="0" SRC="0" YES="" +case "${1%/}" in + -y|--yes) + YES="-y" + shift + ;; +esac + case "${1%/}" in deps) DEPS="1" @@ -64,13 +71,6 @@ case "${1%/}" in INSTALL="1" ;; - -y) - YES="-y" - ;; - - --yes) - YES="-y" - ;; *) echo "usage: make.sh [OPTIONS] ACTION"