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:
parent
9bc501c883
commit
7f2d049b0d
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue