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