aboutsummaryrefslogtreecommitdiff
path: root/libraries/openjfx/openjfx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/openjfx/openjfx.SlackBuild')
-rw-r--r--libraries/openjfx/openjfx.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/openjfx/openjfx.SlackBuild b/libraries/openjfx/openjfx.SlackBuild
index 2a54e54021b45..ea2c49353087c 100644
--- a/libraries/openjfx/openjfx.SlackBuild
+++ b/libraries/openjfx/openjfx.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=openjfx
VERSION=${VERSION:-8u60}
BUILD=${BUILD:-1}
@@ -46,7 +48,6 @@ if ! echo $JAVA_HOME | grep 64 ; then
echo "No valid JRE installation found in $JAVA_HOME to match ARCH $ARCH or $JAVA_HOME not set properly."; exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}