summaryrefslogtreecommitdiff
path: root/firefox.sh.in
diff options
context:
space:
mode:
authorMartin Stransky <stransky@fedoraproject.org>2008-06-02 12:49:37 +0000
committerMartin Stransky <stransky@fedoraproject.org>2008-06-02 12:49:37 +0000
commite530b2e4166d6c585252a4e5e4e5da557c2c079f (patch)
treeb6339647a06c7b150d7267a6cf6173e6974a2ac8 /firefox.sh.in
parentfix the build (diff)
downloadlibrewolf-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)
Diffstat (limited to 'firefox.sh.in')
-rw-r--r--firefox.sh.in8
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.
bgstack15