summaryrefslogtreecommitdiff
path: root/perl/perl-NetPacket/perl-NetPacket.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-NetPacket/perl-NetPacket.SlackBuild')
-rw-r--r--perl/perl-NetPacket/perl-NetPacket.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-NetPacket/perl-NetPacket.SlackBuild b/perl/perl-NetPacket/perl-NetPacket.SlackBuild
index 62a5475a46..4393c714ef 100644
--- a/perl/perl-NetPacket/perl-NetPacket.SlackBuild
+++ b/perl/perl-NetPacket/perl-NetPacket.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-NetPacket
VERSION=${VERSION:-1.6.0}
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}