aboutsummaryrefslogtreecommitdiff
path: root/office/qpdfview-qt5/qpdfview-qt5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/qpdfview-qt5/qpdfview-qt5.SlackBuild')
-rw-r--r--office/qpdfview-qt5/qpdfview-qt5.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/qpdfview-qt5/qpdfview-qt5.SlackBuild b/office/qpdfview-qt5/qpdfview-qt5.SlackBuild
index 8ca8275274b3b..c501b56fcea11 100644
--- a/office/qpdfview-qt5/qpdfview-qt5.SlackBuild
+++ b/office/qpdfview-qt5/qpdfview-qt5.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qpdfview-qt5
SRCNAM=qpdfview
VERSION=${VERSION:-0.4.18}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}