Skip to content

Commit e17b374

Browse files
author
Matthias Koeppe
committed
bootstrap: Cannot combine -d, -D, -s, -u with SPKG arguments
1 parent c8d604a commit e17b374

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bootstrap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,12 @@ if [ $DOWNLOAD$SAVE = yesyes ]; then
282282
exit 2
283283
fi
284284

285+
if [ $# != 0 -a $DOWNLOAD$ALWAYSDOWNLOAD$SAVE != nonono ]; then
286+
echo >&2 "$0: Cannot combine -d, -D, -s, -u with SPKG arguments"
287+
usage
288+
exit 2
289+
fi
290+
285291
# Start cleanly when a full bootstrap is happening (it's not a problem if this fails)
286292
# POSIX supports two separate incompatible formats for the MAKEFLAGS
287293
# variable, so instead of guessing, we simply define our own variable

0 commit comments

Comments
 (0)