summaryrefslogtreecommitdiff
path: root/perl/perl-Sort-Versions/perl-Sort-Versions.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Sort-Versions/perl-Sort-Versions.SlackBuild')
-rw-r--r--perl/perl-Sort-Versions/perl-Sort-Versions.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-Sort-Versions/perl-Sort-Versions.SlackBuild b/perl/perl-Sort-Versions/perl-Sort-Versions.SlackBuild
index cf156c2f5b..de2744732f 100644
--- a/perl/perl-Sort-Versions/perl-Sort-Versions.SlackBuild
+++ b/perl/perl-Sort-Versions/perl-Sort-Versions.SlackBuild
@@ -4,6 +4,8 @@
# Written by Jacob Pipkin <j@dawnrazor.net>
# Licensed under the WTFPL <http://sam.zoy.org/wtfpl/COPYING>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-Sort-Versions
VERSION=${VERSION:-1.5}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}