[packages/oracle-java9] fix package name in get-source.sh
glen
glen at pld-linux.org
Sun Oct 22 16:49:35 CEST 2017
commit 1e946b890eba687a267d3b2bc263ccf1e0473c1b
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Sun Oct 22 17:48:22 2017 +0300
fix package name in get-source.sh
get-source.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/get-source.sh b/get-source.sh
index 7fa3449..cf450e2 100755
--- a/get-source.sh
+++ b/get-source.sh
@@ -6,7 +6,7 @@
# Idea based on omnibus-software jre package
# https://github.com/opscode/omnibus-software/blob/master/config/software/jre.rb
-package=java8
+package=java9
specfile=oracle-$package.spec
# abort on errors
@@ -33,7 +33,7 @@ Press Ctrl-C to Decline License Agreement
EOF
read license
-urls=$(builder -su *.spec | grep http://)
+urls=$(builder -su "$specfile" | grep http://)
for url in $urls; do
wget -c --header "Cookie: oraclelicense=$cookie; gpw_e24=$refurl" "$url"
done
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/oracle-java9.git/commitdiff/d73114116b2c00375b4088dd2ddf38d1eb1db7cf
More information about the pld-cvs-commit
mailing list