Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2016 10:12:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212557] ports-mgmt/portshaker: /usr/local/etc/portshaker.d/freebsd: unknown command '--'
Message-ID:  <bug-212557-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212557

            Bug ID: 212557
           Summary: ports-mgmt/portshaker:
                    /usr/local/etc/portshaker.d/freebsd: unknown command
                    '--'
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: romain@FreeBSD.org
          Reporter: serpent7776@gmail.com
             Flags: maintainer-feedback?(romain@FreeBSD.org)
          Assignee: romain@FreeBSD.org

Created attachment 174615
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174615&action=
=3Dedit
portshaker config file

After recent portshaker update I got error when trying to run portshaker

/usr/local/etc/portshaker.d/freebsd: unknown command '--'
usage: /usr/local/etc/portshaker.d/freebsd (update|clone_to|copy_to|merge_t=
o)
[Error 12:03:17] Failed to update the 'freebsd' ports tree.

My /usr/local/etc/portshaker.d/freebsd look like this:

#!/bin/sh
# shift # uncommenting this line fixes the issue
. /usr/local/share/portshaker/portshaker.subr
method=3D"portsnap"
run_portshaker_command $*

Before update it was working without the need for shift.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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