aboutsummaryrefslogtreecommitdiff
path: root/network/nextcloud-client/nextcloud-client.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/nextcloud-client/nextcloud-client.SlackBuild')
-rw-r--r--network/nextcloud-client/nextcloud-client.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/nextcloud-client/nextcloud-client.SlackBuild b/network/nextcloud-client/nextcloud-client.SlackBuild
index 42edb8595b3f0..480ed9aa3a0ae 100644
--- a/network/nextcloud-client/nextcloud-client.SlackBuild
+++ b/network/nextcloud-client/nextcloud-client.SlackBuild
@@ -26,6 +26,8 @@
# This is based on the owncloud-client slackbuild in https://slackbuilds.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nextcloud-client
VERSION=${VERSION:-2.3.3}
OWNCLOUD_VERSION=${OWNCLOUD_VERSION:-2.4.2}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}