fixes #200631: firefox -d starts with a convicted monopolist's product page

(actually ff stays in endles loop)
This commit is contained in:
Martin Stransky 2008-06-02 12:49:37 +00:00
parent 4d330ff93b
commit e530b2e416
1 changed files with 6 additions and 2 deletions

View File

@ -158,8 +158,12 @@ do
shift
;;
-d | --debugger)
script_args="$script_args -d $2"
shift 2
if [ $# -gt 1 ]; then
script_args="$script_args -d $2"
shift 2
else
shift
fi
;;
*)
# Move the unrecognized argument to the end of the list.