mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-15 13:49:42 +02:00
8304134: jib bootstrapper fails to quote filename when checking download filetype
Reviewed-by: erikj
This commit is contained in:
parent
4154a980ca
commit
75168eaca3
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ install_jib() {
|
|||
fi
|
||||
# Want to check the filetype using file, to see if we got served a HTML error page.
|
||||
# This is sensitive to the filename containing a specific string, but good enough.
|
||||
file ${installed_jib_script}.gz | grep "gzip compressed data" > /dev/null
|
||||
file "${installed_jib_script}.gz" | grep "gzip compressed data" > /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Warning: ${installed_jib_script}.gz is not a gzip file."
|
||||
echo "If you are behind a proxy you may need to configure exceptions using no_proxy."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue