[SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (f4b347fafa6b8819623c8b6855e8263cfd60ff77)

Juuso Alasuutari scm at mail.sourcemage.org
Wed Aug 9 08:29:09 EDT 2006


GIT changes to master grimoire by Juuso Alasuutari <iuso at sourcemage.org>:

 http/firefox/HISTORY |    3 +++
 http/firefox/firefox |    6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

New commits:
commit f4b347fafa6b8819623c8b6855e8263cfd60ff77
Author: Juuso Alasuutari <iuso at sourcemage.org>
Commit: Juuso Alasuutari <iuso at sourcemage.org>

    Remove bashisms from /usr/bin/firefox, bug #12882.

diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY
index 380cf3b..54f965b 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -1,3 +1,6 @@
+2006-08-09 Juuso Alasuutari <iuso at sourcemage.org>
+	* firefox: Removed bashisms, bug #12882.
+
 2006-08-02 Flavien Bridault <vlaaad at sourcemage.org>
 	* DETAILS: reset PATCHLEVEL 
 
diff --git a/http/firefox/firefox b/http/firefox/firefox
index cf8fbc8..ec8066c 100644
--- a/http/firefox/firefox
+++ b/http/firefox/firefox
@@ -9,13 +9,13 @@ #
 export LD_LIBRARY_PATH=/usr/lib/firefox 
 remote=""
 if /usr/lib/firefox/firefox-bin -remote "ping()" > /dev/null 2>&1 ; then 
-	if [[ -z "$@" ]] ; then
+	if [ -z "$@" ] ; then
 		remote='-remote xfeDoCommand(openBrowser)'
 	fi
 fi
 
-if [[ -n $USE_AOSS_WRAPPER ]] &&
-   [[ -x /usr/bin/aoss ]]; then
+if [ $USE_AOSS_WRAPPER ] &&
+   [ -x /usr/bin/aoss ]; then
   /usr/bin/aoss /usr/lib/firefox/firefox-bin $remote "$@"
 else
   /usr/lib/firefox/firefox-bin $remote "$@"



More information about the SM-Commit mailing list