aboutsummaryrefslogtreecommitdiff
path: root/development/adoptopenjdk-openj9/adoptopenjdk-openj9.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/adoptopenjdk-openj9/adoptopenjdk-openj9.SlackBuild')
-rw-r--r--development/adoptopenjdk-openj9/adoptopenjdk-openj9.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/adoptopenjdk-openj9/adoptopenjdk-openj9.SlackBuild b/development/adoptopenjdk-openj9/adoptopenjdk-openj9.SlackBuild
index ff9e4246be23e..afacf0f625108 100644
--- a/development/adoptopenjdk-openj9/adoptopenjdk-openj9.SlackBuild
+++ b/development/adoptopenjdk-openj9/adoptopenjdk-openj9.SlackBuild
@@ -20,6 +20,8 @@
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=adoptopenjdk-openj9
SRCNAM=jdk
VERSION=${VERSION:-14.0.1+7}
@@ -33,7 +35,6 @@ J9VER=0.20.0
TARNAM=OpenJDK${MAINVER}U-jdk_x64_linux_openj9_${MAJORVER}_${MINORVER}_openj9-${J9VER}.tar.gz
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${TMP}/package-${PRGNAM}
OUTPUT=${OUTPUT:-/tmp}