summaryrefslogtreecommitdiff
path: root/perl/perl-Test-Differences/perl-Test-Differences.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Test-Differences/perl-Test-Differences.SlackBuild')
-rw-r--r--perl/perl-Test-Differences/perl-Test-Differences.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-Test-Differences/perl-Test-Differences.SlackBuild b/perl/perl-Test-Differences/perl-Test-Differences.SlackBuild
index 0b88378c6f..28be199026 100644
--- a/perl/perl-Test-Differences/perl-Test-Differences.SlackBuild
+++ b/perl/perl-Test-Differences/perl-Test-Differences.SlackBuild
@@ -1,5 +1,7 @@
#!/bin/bash
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-Test-Differences
VERSION=${VERSION:-0.64}
BUILD=${BUILD:-2}
@@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}