summaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-browser_app_mozilla.in
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2004-12-29 03:25:23 +0000
committerMichael Johnson <ahze@FreeBSD.org>2004-12-29 03:25:23 +0000
commit5cffd563b13a5dd91f4ac441bef352a101d3a467 (patch)
treecbf7f22c5ba0784dd81e75eee0290e7fcb794e79 /www/firefox/files/patch-browser_app_mozilla.in
parentUpdate to 0.2.3 (diff)
- Update pkg-descr to better reflect firefox
- Fix expr usage for 4.x since expr on 4.x is not POSIX compliant. [1] Submitted by: girgen [1]
Diffstat (limited to 'www/firefox/files/patch-browser_app_mozilla.in')
-rw-r--r--www/firefox/files/patch-browser_app_mozilla.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/firefox/files/patch-browser_app_mozilla.in b/www/firefox/files/patch-browser_app_mozilla.in
index d576c95816b8..9ad04f41976b 100644
--- a/www/firefox/files/patch-browser_app_mozilla.in
+++ b/www/firefox/files/patch-browser_app_mozilla.in
@@ -13,7 +13,7 @@
done #last arg
-if [ `expr "${_optLast}" : '.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then
-+if [ `expr -- "${_optLast}" : '.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then
++if [ `expr X"${_optLast}" : 'X.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then
# Last argument seems to be a local file/directory
# Check, if it is absolutely specified (ie. /home/foo/file vs. ./file)
# If it is just "relatively" (./file) specified, make it absolutely