Skip to content

Commit

Permalink
8304134: jib bootstrapper fails to quote filename when checking downl…
Browse files Browse the repository at this point in the history
…oad filetype

Reviewed-by: erikj
  • Loading branch information
Ludvig Janiuk authored and erikj79 committed Mar 22, 2023
1 parent 4154a98 commit 75168ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/jib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 75168ea

Please sign in to comment.