[Bug 212557] ports-mgmt/portshaker: /usr/local/etc/portshaker.d/freebsd: unknown command '--'
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Sep 10 10:12:25 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212557
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 at FreeBSD.org
Reporter: serpent7776 at gmail.com
Flags: maintainer-feedback?(romain at FreeBSD.org)
Assignee: romain at FreeBSD.org
Created attachment 174615
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174615&action=edit
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_to)
[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="portsnap"
run_portshaker_command $*
Before update it was working without the need for shift.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list