aboutsummaryrefslogtreecommitdiff
path: root/development/jdk14/jdk14.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/jdk14/jdk14.SlackBuild')
-rw-r--r--development/jdk14/jdk14.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/jdk14/jdk14.SlackBuild b/development/jdk14/jdk14.SlackBuild
index b379c10d7f018..1546ca47c04df 100644
--- a/development/jdk14/jdk14.SlackBuild
+++ b/development/jdk14/jdk14.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=jdk14
VERSION=${VERSION:-14.0.2}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ fi
set -e
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}