summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/jdk/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/jdk/package.py b/var/spack/repos/builtin/packages/jdk/package.py
index e44e2b5950..2c56b9b8a3 100644
--- a/var/spack/repos/builtin/packages/jdk/package.py
+++ b/var/spack/repos/builtin/packages/jdk/package.py
@@ -26,8 +26,8 @@ class Jdk(Package):
# http://stackoverflow.com/questions/10268583/how-to-automate-download-and-installation-of-java-jdk-on-linux
curl_options = [
'-j', # junk cookies
- '-H', # specify required License Agreement cookie
- 'Cookie: oraclelicense=accept-securebackup-cookie'
+ '-b', # specify required License Agreement cookie
+ 'oraclelicense=accept-securebackup-cookie'
]
# To add the latest version, go to the homepage listed above,