sshfs-mapper: fix 'shift : can't shift that many' error with old dash.

git-svn-id: https://websvn.glenux.net/svn/Upoc/sshfs-mapper/trunk@1435 eaee96b3-f302-0410-b096-c6cfd47f7835
This commit is contained in:
Glenn Y. Rolland 2009-09-17 07:11:09 +00:00
parent 9bc501c883
commit 7f2d049b0d

View file

@ -108,8 +108,11 @@ SSHFS_HOST_LIMIT=0
SSHFS_HOST_LIST=0
SSHFS_HOST_AUTO=0
OPTFOUND=0
while OPT=${1:-} ; shift
while true
do
OPT=${1:-}
if [ -z $OPT ]; then break ; fi
shift
OPTARG=${1:-}
#echo "$OPT?"
case "$OPT" in