aboutsummaryrefslogtreecommitdiff
path: root/network/dokuwiki/dokuwiki.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/dokuwiki/dokuwiki.SlackBuild')
-rw-r--r--network/dokuwiki/dokuwiki.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/dokuwiki/dokuwiki.SlackBuild b/network/dokuwiki/dokuwiki.SlackBuild
index 4be3a5334226a..25c02af52df7e 100644
--- a/network/dokuwiki/dokuwiki.SlackBuild
+++ b/network/dokuwiki/dokuwiki.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=dokuwiki
VERSION=${VERSION:-20200729}
UNPACK=${UNPACK:-stable}
@@ -31,7 +33,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}