summaryrefslogtreecommitdiff
path: root/office/pdfstudioviewer/pdfstudioviewer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/pdfstudioviewer/pdfstudioviewer.SlackBuild')
-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 179b3aae01..e9ad1fd0a5 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}