[Portland] [patch] xdg-open
Martin Koller
m.koller at surfeu.at
Fri Apr 6 06:37:10 PDT 2007
Hi all,
would you mind to include the following patch into xdg-open, as I get the
following error (on a RedHat 9 machine).
sed: -e expression #1, char 109: unknown option to `s'
Thanks.
Index: xdg-open
===================================================================
RCS file: /users/000_600/cvs_repository/UiFiles/ShellScripts/xdg-open,v
retrieving revision 1.1
diff -u -3 -p -r1.1 xdg-open
--- xdg-open 7 Oct 2006 12:50:00 -0000 1.1
+++ xdg-open 6 Apr 2007 13:31:27 -0000
@@ -364,7 +364,7 @@ open_generic()
for browser in $BROWSER; do
if [ x"$browser" != x"" ]; then
- browser_with_arg=`echo "$browser" | sed s#%s#"$1"#`
+ browser_with_arg=`echo "$browser" | sed 's#%s#"$1"#'`
if [ x"$browser_with_arg" = x"$browser" ]; then "$browser" "$1";
else $browser_with_arg;
--
Best regards/Schöne Grüße
Martin
Computers and Internet gave you freedom.
TCPA would TAKE your FREEDOM! http://www.againsttcpa.com
More information about the Portland
mailing list