SOURCES: iceweasel.sh - stop bashism

glen glen at pld-linux.org
Sun Jan 25 12:53:10 CET 2009


Author: glen                         Date: Sun Jan 25 11:53:10 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- stop bashism

---- Files affected:
SOURCES:
   iceweasel.sh (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SOURCES/iceweasel.sh
diff -u SOURCES/iceweasel.sh:1.9 SOURCES/iceweasel.sh:1.10
--- SOURCES/iceweasel.sh:1.9	Sun Jan 25 12:48:17 2009
+++ SOURCES/iceweasel.sh	Sun Jan 25 12:53:04 2009
@@ -24,7 +24,7 @@
 ICEWEASEL="$LIBDIR/iceweasel"
 PWD=${PWD:-$(pwd)}
 
-if [ "$1" == "-remote" ]; then
+if [ "$1" = "-remote" ]; then
 	exec $ICEWEASEL "$@"
 else
 	if ! $ICEWEASEL -remote 'ping()' 2>/dev/null; then
@@ -36,9 +36,9 @@
 	else
 		if [ -z "$1" ]; then
 			exec $ICEWEASEL -remote 'xfeDoCommand(openBrowser)'
-		elif [ "$1" == "-mail" ]; then
+		elif [ "$1" = "-mail" ]; then
 			exec $ICEWEASEL -remote 'xfeDoCommand(openInbox)'
-		elif [ "$1" == "-compose" ]; then
+		elif [ "$1" = "-compose" ]; then
 			exec $ICEWEASEL -remote 'xfeDoCommand(composeMessage)'
 		else
 			if [ -f "$PWD/$1" ]; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/iceweasel.sh?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list