aboutsummaryrefslogtreecommitdiff
path: root/office/pandoc-bin/pandoc-bin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/pandoc-bin/pandoc-bin.SlackBuild')
-rw-r--r--office/pandoc-bin/pandoc-bin.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/pandoc-bin/pandoc-bin.SlackBuild b/office/pandoc-bin/pandoc-bin.SlackBuild
index 0388dadc4a40..0958c5910c44 100644
--- a/office/pandoc-bin/pandoc-bin.SlackBuild
+++ b/office/pandoc-bin/pandoc-bin.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=pandoc-bin
SRCNAM=pandoc
VERSION=${VERSION:-2.13}
@@ -46,7 +48,6 @@ fi
set -e
TMP=${TMP:-/tmp/SBo}
-CWD=$(pwd)
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}