aboutsummaryrefslogtreecommitdiff
path: root/python/pysnmp/pysnmp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pysnmp/pysnmp.SlackBuild')
-rw-r--r--python/pysnmp/pysnmp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/pysnmp/pysnmp.SlackBuild b/python/pysnmp/pysnmp.SlackBuild
index b1c6ad5c25836..52a2490d4e26b 100644
--- a/python/pysnmp/pysnmp.SlackBuild
+++ b/python/pysnmp/pysnmp.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pysnmp
VERSION=${VERSION:-4.1.16d}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}