aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-String-Similarity/perl-String-Similarity.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-String-Similarity/perl-String-Similarity.SlackBuild')
-rw-r--r--perl/perl-String-Similarity/perl-String-Similarity.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-String-Similarity/perl-String-Similarity.SlackBuild b/perl/perl-String-Similarity/perl-String-Similarity.SlackBuild
index cf8446a16a1ad..2947f202ae8f9 100644
--- a/perl/perl-String-Similarity/perl-String-Similarity.SlackBuild
+++ b/perl/perl-String-Similarity/perl-String-Similarity.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-String-Similarity
VERSION=${VERSION:-1.04}
BUILD=${BUILD:-1}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}