summaryrefslogtreecommitdiffstats
path: root/desktop/x2x/x2x.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/x2x/x2x.SlackBuild')
-rw-r--r--desktop/x2x/x2x.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/x2x/x2x.SlackBuild b/desktop/x2x/x2x.SlackBuild
index e4bc721e88..5fe64f796b 100644
--- a/desktop/x2x/x2x.SlackBuild
+++ b/desktop/x2x/x2x.SlackBuild
@@ -10,6 +10,8 @@
# was 1.30-beta, which got imported into a github repo by the current
# upstream, who has made some changes but not yet done a release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=x2x
VERSION=${VERSION:-1.30_beta+20200121_ec10215}
BUILD=${BUILD:-1}
@@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}