From: Waldemar Kozaczuk <jwkozac...@gmail.com>
Committer: Waldemar Kozaczuk <jwkozac...@gmail.com>
Branch: master

Fixed openjdk9-zulu-java-base app latest.sh script

Signed-off-by: Waldemar Kozaczuk <jwkozac...@gmail.com>

---
diff --git a/openjdk9-zulu-java-base/latest.sh b/openjdk9-zulu-java-base/latest.sh
--- a/openjdk9-zulu-java-base/latest.sh
+++ b/openjdk9-zulu-java-base/latest.sh
@@ -1,5 +1,5 @@
 #!/bin/bash
-DOWNLOAD_URL=`wget -c -qO- http://www.azul.com/downloads/zulu/zulu-linux | grep "jdk9.*linux.*64.tar.gz\"" | grep -o "https:.*tar.gz" | head -n 1` +DOWNLOAD_URL=`wget -c -qO- http://www.azul.com/downloads/zulu/zulu-linux | grep -o '<a href=['"'"'"][^"'"'"']*['"'"'"]' | grep "jdk9.*linux.*64.tar.gz\"" | grep -o "https:.*tar.gz" | head -n 1`
 VERSION=`echo $DOWNLOAD_URL | grep -o "zulu9.*linux_x64"`

 if [ "$1" = "version" ]; then

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to