aboutsummaryrefslogtreecommitdiff
path: root/system/atop/atop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/atop/atop.SlackBuild')
-rw-r--r--system/atop/atop.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/atop/atop.SlackBuild b/system/atop/atop.SlackBuild
index 8e4637b72f8f1..7312b248d74e7 100644
--- a/system/atop/atop.SlackBuild
+++ b/system/atop/atop.SlackBuild
@@ -11,6 +11,8 @@
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=atop
VERSION=${VERSION:-2.6.0}
BUILD=${BUILD:-2}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}