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