aboutsummaryrefslogtreecommitdiff
path: root/office/pdfstudioviewer
diff options
context:
space:
mode:
Diffstat (limited to 'office/pdfstudioviewer')
-rw-r--r--office/pdfstudioviewer/pdfstudioviewer.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/pdfstudioviewer/pdfstudioviewer.SlackBuild b/office/pdfstudioviewer/pdfstudioviewer.SlackBuild
index 179b3aae01270..e9ad1fd0a570f 100644
--- a/office/pdfstudioviewer/pdfstudioviewer.SlackBuild
+++ b/office/pdfstudioviewer/pdfstudioviewer.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=pdfstudioviewer
VERSION=${VERSION:-2020.4.0}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ case "$ARCH" in
exit 1 ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}