summaryrefslogtreecommitdiffstats
path: root/ham/ebook2cwgui/ebook2cwgui.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ham/ebook2cwgui/ebook2cwgui.SlackBuild')
-rw-r--r--ham/ebook2cwgui/ebook2cwgui.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/ham/ebook2cwgui/ebook2cwgui.SlackBuild b/ham/ebook2cwgui/ebook2cwgui.SlackBuild
index a3cc726044..8eac648991 100644
--- a/ham/ebook2cwgui/ebook2cwgui.SlackBuild
+++ b/ham/ebook2cwgui/ebook2cwgui.SlackBuild
@@ -20,6 +20,8 @@
# see fit. Or as I see fit. Or as I fit. Although
# that is unlikely, as I am rather tall.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ebook2cwgui
VERSION=${VERSION:-0.1.2}
BUILD=${BUILD:-2}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}