diff options
author | Vlad Glagolev | 2011-02-25 10:01:54 +0300 |
---|---|---|
committer | George Sherwood | 2011-03-03 16:30:22 -0600 |
commit | 2d22d1e115a4970c2a3e4442d94c40be2f24a0f8 (patch) | |
tree | caec048462d5e0ef68ded0c2c11146e5c23c9157 | |
parent | b898c06069d57a7f65672ac46c2023fc2b75c1cb (diff) |
seamonkey: correctly handle multiple arguments
(cherry picked from commit 93c4a4a55e89b4ea3ee180ac46fe8c0ab48ca1ce)
-rw-r--r-- | http/seamonkey/HISTORY | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | http/seamonkey/seamonkey | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/http/seamonkey/HISTORY b/http/seamonkey/HISTORY index 46704fa11e..61d3ffecd5 100644 --- a/http/seamonkey/HISTORY +++ b/http/seamonkey/HISTORY @@ -1,3 +1,6 @@ +2011-02-25 Vlad Glagolev <stealth@sourcemage.org> + * seamonkey: correctly handle multiple arguments (-new-tab, etc.) + 2011-01-02 Vlad Glagolev <stealth@sourcemage.org> * DEPENDS: added missing dependencies * blfs-mozconfig: don't force system nss cause it's checked in DEPENDS diff --git a/http/seamonkey/seamonkey b/http/seamonkey/seamonkey index 8ede4b8086..54f7cca711 100644..100755 --- a/http/seamonkey/seamonkey +++ b/http/seamonkey/seamonkey @@ -2,6 +2,7 @@ # # Created by Eric Sandall 2004-12-09 # Modified for Seamonkey by Arwed v. Merkatz 2005-12-21 +# and Vlad Glagolev 2011-02-25 # # This script is here to set the correct LD_LIBRARY_PATH for seamonkey 1.0+ # based on the information from this thread: @@ -11,7 +12,7 @@ export MOZILLA_FIVE_HOME=/usr/lib/seamonkey export LD_LIBRARY_PATH=/usr/lib/seamonkey remote="" if /usr/lib/seamonkey/seamonkey-bin -remote "ping()" > /dev/null 2>&1 ; then - if [ -z "$@" ] ; then + if [ $# -eq 0 ] ; then remote='-remote xfeDoCommand(openBrowser)' fi fi |