Skip to content

Commit b92d077

Browse files
committed
fix static libs check
Signed-off-by: Stewart X Addison <sxa@redhat.com>
1 parent 0f2fda2 commit b92d077

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tooling/release_download_test.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@ verify_valid_archives() {
253253
print_error "Failed to verify that ${A} can be extracted"
254254
RC=4
255255
fi
256-
# NOTE: 38 chosen because the static-libs is 38 for JDK21/AIX - maybe switch for different tarballs in the future?
257-
if [ "$(tar tfz "${A}" | wc -l)" -lt 38 ]; then
258-
print_error "Less than 38 files in ${A} - that does not seem correct"
256+
# NOTE: 37 chosen because the static-libs is 37 for JDK21/AIX - maybe switch for different tarballs in the future?
257+
if [ "$(tar tfz "${A}" | wc -l)" -lt 37 ]; then
258+
print_error "Fewer than 38 files in ${A} - that does not seem correct"
259259
RC=4
260260
fi
261261
done
@@ -285,7 +285,7 @@ verify_valid_archives() {
285285
RC=4
286286
fi
287287
if [ "$(tar tfz "${A}" | wc -l)" -lt 45000 ]; then
288-
print_error "less than 45000 files in source archive ${A} - that does not seem correct"
288+
print_error "Fewer than 45000 files in source archive ${A} - that does not seem correct"
289289
RC=4
290290
fi
291291
done

0 commit comments

Comments
 (0)