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