ports/128080: operapluginwrapper has a syntax error.
KOIE Hidetaka
hide at koie.org
Tue Oct 14 03:30:02 UTC 2008
>Number: 128080
>Category: ports
>Synopsis: operapluginwrapper has a syntax error.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 14 03:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: KOIE Hidetaka
>Release: 8.0-CURRENT
>Organization:
surigiken
>Environment:
FreeBSD guriandgura 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Oct 5 17:52:01 JST 2008 koie at guriandgura:/usr/obj/usr/src/sys/GURIANDGURA amd64
>Description:
I installed opera-9.60.20081004.
When start opera, an error dialog pops up.
It seems a bug in the script operapluginwrapper.
BTW, if linux-opera is installed,
ln -s /usr/local/share/linux-opera/bin/operapluginwrapper /usr/local/share/opera/bin/operapluginwrapper.linux.
>How-To-Repeat:
>Fix:
koie at guriandgura% diff -u /usr/local/share/opera/bin/operapluginwrapper{.orig,}
--- /usr/local/share/opera/bin/operapluginwrapper.orig 2008-10-14 11:52:00.261409096 +0900
+++ /usr/local/share/opera/bin/operapluginwrapper 2008-10-14 11:54:44.635606439 +0900
@@ -1,6 +1,6 @@
#!/bin/sh
-if [ brandelf $3 | grep "FreeBSD" ]; then
+if brandelf $3 | grep "FreeBSD"; then
exec $0.freebsd $@
else
exec $0.linux $@
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list