aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild')
-rw-r--r--perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild
index 9ab793dc5445..aad94dbd24f3 100644
--- a/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild
+++ b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild
@@ -28,6 +28,8 @@
# Modified by the SlackBuilds.org project.
SRCNAM="Crypt-OpenSSL-Random"
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="perl-Crypt-OpenSSL-Random"
VERSION=${VERSION:-0.11}
BUILD=${BUILD:-1}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}