diff options
author | Martin Stransky <stransky@fedoraproject.org> | 2008-06-02 12:49:37 +0000 |
---|---|---|
committer | Martin Stransky <stransky@fedoraproject.org> | 2008-06-02 12:49:37 +0000 |
commit | e530b2e4166d6c585252a4e5e4e5da557c2c079f (patch) | |
tree | b6339647a06c7b150d7267a6cf6173e6974a2ac8 | |
parent | fix the build (diff) | |
download | librewolf-fedora-ff-e530b2e4166d6c585252a4e5e4e5da557c2c079f.tar.gz librewolf-fedora-ff-e530b2e4166d6c585252a4e5e4e5da557c2c079f.tar.bz2 librewolf-fedora-ff-e530b2e4166d6c585252a4e5e4e5da557c2c079f.zip |
fixes #200631: firefox -d starts with a convicted monopolist's product page
(actually ff stays in endles loop)
-rw-r--r-- | firefox.sh.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/firefox.sh.in b/firefox.sh.in index 48ab576..e8f5048 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -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. |