aboutsummaryrefslogtreecommitdiff
path: root/development/openjdk7
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-04 09:18:57 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:44 +0700
commit250f6ec6e085cafbcf1741f58f16fa3ef83a5506 (patch)
tree8f6f7fbb2647349f32381d4e0ef9008b972d2fb2 /development/openjdk7
parent3aced929d621ab94fb2caa5b66e9f229474dea90 (diff)
development/openjdk7: Move PRGNAM and friends to top of script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'development/openjdk7')
-rw-r--r--development/openjdk7/openjdk7.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/development/openjdk7/openjdk7.SlackBuild b/development/openjdk7/openjdk7.SlackBuild
index ebb3769258f7..5419a504b54e 100644
--- a/development/openjdk7/openjdk7.SlackBuild
+++ b/development/openjdk7/openjdk7.SlackBuild
@@ -22,6 +22,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+PRGNAM=openjdk7
+VERSION=${VERSION:-7u231}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
function createSBoPatch() {
cat << EOF > ${ICEDTEA}/patches/boot/optional.patch
diff -Nru openjdk-boot.orig/jdk/src/share/classes/sun/security/util/Optional.java openjdk-boot/jdk/src/share/classes/sun/security/util/Optional.java
@@ -76,11 +81,6 @@ EOF
)
}
-PRGNAM=openjdk7
-VERSION=${VERSION:-7u231}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
DVER=1.7.0_$(printf $VERSION | cut -du -f2)
ICEDTEA=icedtea-2.6.19