Avoids a shift warning thrown by older versions of bash.

This commit is contained in:
Jeff Smith 2005-03-01 10:38:23 +00:00 committed by Alexandre Julliard
parent 94846a39dc
commit 13abcb0a26
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ function conf_question {
shift 2
echo
local LINE="$1"
while shift
while [ $# -gt 0 ] && shift
do {
echo "$LINE"
LINE="$1"