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