Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2016 23:58:14 +0200
From:      Serpent7776 <serpent7776@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   ports-mgmt/portshaker fails with "unknown command '--'"
Message-ID:  <20160901235814.54b487b6@DaemONX>

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

since last update of ports-mgmt/portshaker I got

/usr/local/etc/portshaker.d/freebsd: unknown command '--'
usage: /usr/local/etc/portshaker.d/freebsd (update|clone_to|copy_to|merge_to)
[Error 23:49:11] Failed to update the 'freebsd' ports tree.

#!/bin/sh
. /usr/local/share/portshaker/portshaker.subr
method="portsnap"
run_portshaker_command $*

If I place `shift` just before sourcing portshaker.subr portshaker works as
expected. Is this is a bug of portshaker or there's something wrong with my
configuration?
Before update everything was working fine.

Thanks

-- 
/*
 * Serpent7776
 */



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