aboutsummaryrefslogtreecommitdiff
path: root/academic/nco/nco.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/nco/nco.SlackBuild')
-rw-r--r--academic/nco/nco.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/nco/nco.SlackBuild b/academic/nco/nco.SlackBuild
index 0bb634e4747b..8a4ed5c55d1a 100644
--- a/academic/nco/nco.SlackBuild
+++ b/academic/nco/nco.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nco
VERSION=${VERSION:-4.9.7}
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}