install: fix infinite loop on next. Fix #891

Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
Luca Di Maio
2023-08-06 09:17:25 +02:00
parent f62da50bf6
commit a636d46e96

View File

@@ -53,10 +53,8 @@ while :; do
verbose=1
;;
-N | --next)
if [ -n "$2" ]; then
shift
next=1
fi
shift
next=1
;;
-P | --prefix)
if [ -n "$2" ]; then