aboutsummaryrefslogtreecommitdiff
path: root/system/gdmap/gdmap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/gdmap/gdmap.SlackBuild')
-rw-r--r--system/gdmap/gdmap.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/gdmap/gdmap.SlackBuild b/system/gdmap/gdmap.SlackBuild
index d26ddaff616e2..0cbd4a3757d94 100644
--- a/system/gdmap/gdmap.SlackBuild
+++ b/system/gdmap/gdmap.SlackBuild
@@ -21,6 +21,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gdmap
VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-4}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}