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