aboutsummaryrefslogtreecommitdiff
path: root/misc/pinfo/pinfo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/pinfo/pinfo.SlackBuild')
-rw-r--r--misc/pinfo/pinfo.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/pinfo/pinfo.SlackBuild b/misc/pinfo/pinfo.SlackBuild
index 0654648bf85ae..14f3dc7a39a4d 100644
--- a/misc/pinfo/pinfo.SlackBuild
+++ b/misc/pinfo/pinfo.SlackBuild
@@ -35,6 +35,8 @@
# - pinfo development moved to github, change homepage.
# - add info dir entry in doinst.sh.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pinfo
VERSION=${VERSION:-0.6.13}
BUILD=${BUILD:-2}
@@ -48,7 +50,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}