Skip to content

Commit ef32806

Browse files
authored
Fix string handling in jlchecksum (#56720)
A `TAGGED_RELEASE_BANNER` with spaces such as `Official https://julialang.org release` produces the error `/cache/build/builder-amdci4-5/julialang/julia-master/deps/tools/jlchecksum: 66: [: Official: unexpected operator`.
1 parent d32843b commit ef32806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/tools/jlchecksum

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ find_checksum()
6363
fi
6464
done
6565
if [ ! -f "$DEPSDIR/checksums/$BASENAME/$CHECKSUM_TYPE" ]; then
66-
if [ ${TAGGED_RELEASE_BANNER:-} ]; then
66+
if [ "${TAGGED_RELEASE_BANNER:-}" ]; then
6767
echo "WARNING: $CHECKSUM_TYPE checksum for $BASENAME not found in deps/checksums/, failing release build." >&2
6868
exit 3
6969
fi

0 commit comments

Comments
 (0)