summaryrefslogtreecommitdiffstats
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 ee91968380..efc79b5fde 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}