Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2008 02:03:58 +0900
From:      "\"Koji Yokota <yokota@res.otaru-uc.ac.jp>\" <Koji Yokota" <yokota@res.otaru-uc.ac.jp>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/128099: www/opera: share/opera/bin/operapluginwrapper has a syntax error
Message-ID:  <1224003838.36572@home.yokota-s.otaru-uc.ac.jp>
Resent-Message-ID: <200810141810.m9EIA2SA035980@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128099
>Category:       ports
>Synopsis:       www/opera: share/opera/bin/operapluginwrapper has a syntax error
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 14 18:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Koji Yokota <yokota@res.otaru-uc.ac.jp>
>Release:        FreeBSD 7.1-PRERELEASE-p1 i386
>Organization:
Otaru University of Commerce 
>Environment:


System: FreeBSD 7.1-PRERELEASE-p1 #2: Thu Oct  9 22:41:05 JST 2008
    hoge@hoge.otaru-uc.ac.jp:/usr/obj/usr/src/sys/GENERIC



>Description:


file/operapluginwrapper in the port has a syntax error.


>How-To-Repeat:





>Fix:


diff -ruN --exclude=CVS /usr/ports/www/opera.orig/files/operapluginwrapper /usr/ports/www/opera/files/operapluginwrapper
--- /usr/ports/www/opera.orig/files/operapluginwrapper  2008-10-10 18:44:06.000000000 +0900
+++ /usr/ports/www/opera/files/operapluginwrapper       2008-10-15 01:59:29.000000000 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-if [ brandelf $3 | grep "FreeBSD" ]; then
+if brandelf $3 | grep "FreeBSD" > /dev/null ; then
        exec $0.freebsd $@
 else
        exec $0.linux $@
===> Done



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1224003838.36572>