aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-net-ip/perl-net-ip.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-net-ip/perl-net-ip.SlackBuild')
-rw-r--r--perl/perl-net-ip/perl-net-ip.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-net-ip/perl-net-ip.SlackBuild b/perl/perl-net-ip/perl-net-ip.SlackBuild
index e8743eae81dc..24a94afa5732 100644
--- a/perl/perl-net-ip/perl-net-ip.SlackBuild
+++ b/perl/perl-net-ip/perl-net-ip.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-net-ip
SRC_PRGNAM=Net-IP
VERSION=${VERSION:-1.26}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}