summaryrefslogtreecommitdiff
path: root/network/nextcloud-server/nextcloud-server.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/nextcloud-server/nextcloud-server.SlackBuild')
-rw-r--r--network/nextcloud-server/nextcloud-server.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/nextcloud-server/nextcloud-server.SlackBuild b/network/nextcloud-server/nextcloud-server.SlackBuild
index dd228a6f09..e278c9bb17 100644
--- a/network/nextcloud-server/nextcloud-server.SlackBuild
+++ b/network/nextcloud-server/nextcloud-server.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nextcloud-server
SRCNAM=nextcloud
VERSION=${VERSION:-18.0.4}
@@ -34,7 +36,6 @@ DOCROOT=${DOCROOT:-/srv/httpd/htdocs}
PHPUSER=${PHPUSER:-apache}
PHPGROUP=${PHPGROUP:-apache}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}