diff options
author | marcus <marcus@FreeBSD.org> | 2009-08-16 11:41:39 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2009-08-16 11:41:39 +0800 |
commit | d3f43812be78aa50905f272627eb61442a3a0cc3 (patch) | |
tree | d1cf5136615da1a93a7de240e6386749493fbcd7 /devel | |
parent | f743298328544296c46dc679d02551c943889f56 (diff) | |
download | freebsd-ports-gnome-d3f43812be78aa50905f272627eb61442a3a0cc3.tar.gz freebsd-ports-gnome-d3f43812be78aa50905f272627eb61442a3a0cc3.tar.zst freebsd-ports-gnome-d3f43812be78aa50905f272627eb61442a3a0cc3.zip |
Correct a typo.
Spotted by: amdmi3
Diffstat (limited to 'devel')
-rw-r--r-- | devel/xdg-utils/Makefile | 2 | ||||
-rw-r--r-- | devel/xdg-utils/files/patch-scripts_xdg-open | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/devel/xdg-utils/Makefile b/devel/xdg-utils/Makefile index a6da443c46a3..18183aaa1eaa 100644 --- a/devel/xdg-utils/Makefile +++ b/devel/xdg-utils/Makefile @@ -8,7 +8,7 @@ PORTNAME= xdg-utils PORTVERSION= 1.0.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= http://portland.freedesktop.org/download/ EXTRACT_SUFX= .tgz diff --git a/devel/xdg-utils/files/patch-scripts_xdg-open b/devel/xdg-utils/files/patch-scripts_xdg-open index 08bad76bb859..f747c8a20962 100644 --- a/devel/xdg-utils/files/patch-scripts_xdg-open +++ b/devel/xdg-utils/files/patch-scripts_xdg-open @@ -5,8 +5,8 @@ if [ x"$browser" != x"" ]; then - browser_with_arg=`echo "$browser" | sed s#%s#"$1"#` -+ browser_with_args=`printf "$browser" "$1" 2>/dev/null` -+ if [ $? -ne 0 ]; then browser_with_args=$browser; ++ browser_with_arg=`printf "$browser" "$1" 2>/dev/null` ++ if [ $? -ne 0 ]; then browser_with_arg=$browser; + fi if [ x"$browser_with_arg" = x"$browser" ]; then "$browser" "$1"; |