summaryrefslogtreecommitdiff
path: root/system/amanda/amanda.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/amanda/amanda.SlackBuild')
-rw-r--r--system/amanda/amanda.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/amanda/amanda.SlackBuild b/system/amanda/amanda.SlackBuild
index cdb19a205d..43aa915f1d 100644
--- a/system/amanda/amanda.SlackBuild
+++ b/system/amanda/amanda.SlackBuild
@@ -31,6 +31,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=amanda
VERSION=${VERSION:-3.3.9}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}