mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8025920: webrev.ksh does not provide any details about changes in zip files
Add support for diffs for zip files Reviewed-by: ksrini, chegar
This commit is contained in:
parent
46ad112b4d
commit
af5d94ec71
1 changed files with 3 additions and 3 deletions
|
@ -2704,11 +2704,11 @@ do
|
|||
rm -f $WDIR/$DIR/$F.html
|
||||
|
||||
its_a_jar=
|
||||
if expr $F : '.*\.jar' >/dev/null; then
|
||||
if expr $F : '.*\.jar' \| $F : '.*\.zip' >/dev/null; then
|
||||
its_a_jar=1
|
||||
# It's a JAR file, let's do it differntly
|
||||
# It's a JAR or ZIP file, let's do it differently
|
||||
if [[ -z $JAR ]]; then
|
||||
print "No access to jar, so can't produce diffs for jar files"
|
||||
print "No access to jar, so can't produce diffs for jar or zip files"
|
||||
else
|
||||
if [ -f $ofile ]; then
|
||||
$JAR -tvf $ofile >"$ofile".lst
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue