aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild')
-rw-r--r--perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild b/perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild
index 9684d4376a477..1c0ff919cf75c 100644
--- a/perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild
+++ b/perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild
@@ -27,6 +27,8 @@
# Build script for perl-CSS-Squish
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-CSS-Squish
VERSION=${VERSION:-0.10}
BUILD=${BUILD:-0}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}