From 5cffd563b13a5dd91f4ac441bef352a101d3a467 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Wed, 29 Dec 2004 03:25:23 +0000 Subject: - 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] --- www/firefox36/files/patch-browser_app_mozilla.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/firefox36/files/patch-browser_app_mozilla.in') diff --git a/www/firefox36/files/patch-browser_app_mozilla.in b/www/firefox36/files/patch-browser_app_mozilla.in index d576c95816b8..9ad04f41976b 100644 --- a/www/firefox36/files/patch-browser_app_mozilla.in +++ b/www/firefox36/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 -- cgit v1.2.3