diff --git a/scripts/getDependencies.pl b/scripts/getDependencies.pl index d1023dc8..85528a2b 100644 --- a/scripts/getDependencies.pl +++ b/scripts/getDependencies.pl @@ -419,6 +419,8 @@ sub downloadFile { # note _ENCODE_FILE_NEW flag is set for zos if ('.txt' eq substr $filename, -length('.txt')) { $output = qx{_ENCODE_FILE_NEW=ISO8859-1 curl $curlOpts -k -o $filename $url 2>&1}; + } elsif ('.jar' eq substr $filename, -length('.jar')) { + $output = qx{_ENCODE_FILE_NEW=BINARY curl $curlOpts -k -o $filename $url 2>&1}; } else { $output = qx{_ENCODE_FILE_NEW=UNTAGGED curl $curlOpts -k -o $filename $url 2>&1}; }