Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 2004 20:37:44 +0200 (CEST)
From:      Alexander Langer <alex@big.endian.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72704: misc/amanda: chg-disk script error
Message-ID:  <200410141837.i9EIbiOO004608@care.rheuma-online.de>
Resent-Message-ID: <200410141840.i9EIePRI051551@freefall.freebsd.org>

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

>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@...:/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:



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