aboutsummaryrefslogtreecommitdiff
path: root/office/fbreader/fbreader.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/fbreader/fbreader.SlackBuild')
-rw-r--r--office/fbreader/fbreader.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/fbreader/fbreader.SlackBuild b/office/fbreader/fbreader.SlackBuild
index df6f0822f34fe..cdc88b956bada 100644
--- a/office/fbreader/fbreader.SlackBuild
+++ b/office/fbreader/fbreader.SlackBuild
@@ -5,6 +5,8 @@
# Maintained as of version 0.12.1 by Niels Horn <niels.horn@gmail.com>
# revision date: 2011/03/09
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbreader
VERSION=${VERSION:-0.99.4}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}