aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Inline-C/perl-Inline-C.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Inline-C/perl-Inline-C.SlackBuild')
-rw-r--r--perl/perl-Inline-C/perl-Inline-C.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-Inline-C/perl-Inline-C.SlackBuild b/perl/perl-Inline-C/perl-Inline-C.SlackBuild
index ee919683801f..efc79b5fde8c 100644
--- a/perl/perl-Inline-C/perl-Inline-C.SlackBuild
+++ b/perl/perl-Inline-C/perl-Inline-C.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-Inline-C
VERSION=${VERSION:-0.78}
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}