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