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