aboutsummaryrefslogtreecommitdiff
path: root/development/adoptopenjdk/adoptopenjdk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/adoptopenjdk/adoptopenjdk.SlackBuild')
-rw-r--r--development/adoptopenjdk/adoptopenjdk.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/adoptopenjdk/adoptopenjdk.SlackBuild b/development/adoptopenjdk/adoptopenjdk.SlackBuild
index 09f9af62ecaf..25fb9bef051e 100644
--- a/development/adoptopenjdk/adoptopenjdk.SlackBuild
+++ b/development/adoptopenjdk/adoptopenjdk.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
VERSION=${VERSION:-12.0.2+10}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ MINORVER=${VERSION#*+}
TARNAM=OpenJDK12U-jdk_x64_linux_hotspot_${MAJORVER}_${MINORVER}.tar.gz
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${TMP}/package-${PRGNAM}
OUTPUT=${OUTPUT:-/tmp}