ports/72704: misc/amanda: chg-disk script error
Alexander Langer
alex at big.endian.de
Thu Oct 14 18:40:26 UTC 2004
>Number: 72704
>Category: ports
>Synopsis: misc/amanda: chg-disk script 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: Thu Oct 14 18:40:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Alexander Langer
>Release: FreeBSD 5.3-BETA7 i386
>Organization:
>Environment:
System: FreeBSD .. 5.3-BETA7 FreeBSD 5.3-BETA7 #2: Mon Oct 4 17:34:54 CEST 2004 alex at ...:/usr/obj/usr/src/sys/CARE i386
>Description:
Amanbda's disk-changer script uses bash-syntax like the following:
VARNAME=$[ANOTHERVAR+1]
However, FreeBSD's /bin/sh doesn't support this.
So, either you need to patch the script to use bash (and depend on shells/bash2), or patch the script to use correct FreeBSD syntax.
>How-To-Repeat:
run amanda with chg-disk as changer configured
>Fix:
No patch included as I just run the script under bash for now.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list