Skip to content
Snippets Groups Projects
Commit a7fa5699 authored by Henry Weller's avatar Henry Weller
Browse files

AllwmakeParseArguments: Filter-out '-q' option to avoid recusion

parent 04afdaff
Branches
Tags
No related merge requests found
...@@ -58,9 +58,13 @@ USAGE ...@@ -58,9 +58,13 @@ USAGE
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
fromWmake= fromWmake=
qOpt=
for arg in "$@" for arg in "$@"
do do
# Remove arg
shift
case "$arg" in case "$arg" in
-h | -help) -h | -help)
usage usage
...@@ -70,11 +74,19 @@ do ...@@ -70,11 +74,19 @@ do
-fromWmake) -fromWmake)
fromWmake="fromWmake" fromWmake="fromWmake"
;; ;;
-q)
qOpt="-q"
# Permanently remove arg
continue
;;
# Target type # Target type
lib | libo | libso | dep | objects) lib | libo | libso | dep | objects)
targetType=$arg targetType=$arg
;; ;;
esac esac
# Re-insert arg
set -- "$@" "$arg"
done done
...@@ -84,7 +96,7 @@ done ...@@ -84,7 +96,7 @@ done
if [ -z "$fromWmake" ] if [ -z "$fromWmake" ]
then then
wmake -all $* wmake -all $qOpt $*
fi fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment