aboutsummaryrefslogtreecommitdiff
path: root/development/openjdk8
diff options
context:
space:
mode:
Diffstat (limited to 'development/openjdk8')
-rw-r--r--development/openjdk8/openjdk8.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/openjdk8/openjdk8.SlackBuild b/development/openjdk8/openjdk8.SlackBuild
index fc458904b1866..13069ae20d4e8 100644
--- a/development/openjdk8/openjdk8.SlackBuild
+++ b/development/openjdk8/openjdk8.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=openjdk8
VERSION=${VERSION:-8u252}
BUILD=${BUILD:-1}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD="$(pwd)"
TMP=${TMP:-/tmp/SBo}
BUILD_DIR=$TMP/$PRGNAM
PKG=$TMP/package-$PRGNAM