rpms/firefox/F-9 firefox.sh.in,1.31,1.32

Martin Stransky (stransky) fedora-extras-commits at redhat.com
Mon Jun 2 12:52:38 UTC 2008


Author: stransky

Update of /cvs/pkgs/rpms/firefox/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30051

Modified Files:
	firefox.sh.in 
Log Message:
Resolves: #200631


Index: firefox.sh.in
===================================================================
RCS file: /cvs/pkgs/rpms/firefox/F-9/firefox.sh.in,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- firefox.sh.in	8 Mar 2008 04:08:51 -0000	1.31
+++ firefox.sh.in	2 Jun 2008 12:51:50 -0000	1.32
@@ -158,8 +158,12 @@
       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.




More information about the fedora-extras-commits mailing list