summaryrefslogtreecommitdiff
path: root/academic/flashqard/flashqard.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/flashqard/flashqard.SlackBuild')
-rw-r--r--academic/flashqard/flashqard.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/flashqard/flashqard.SlackBuild b/academic/flashqard/flashqard.SlackBuild
index de4f73a8d6..ba1c144dbf 100644
--- a/academic/flashqard/flashqard.SlackBuild
+++ b/academic/flashqard/flashqard.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for flashqard
# written by Mehdi Esmaeelpour ariarat@gmail.com www.slack-world.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flashqard
VERSION=${VERSION:-0.15.0}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}