Skip to content

Commit 54dea31

Browse files
authored
Fix variable expansion in r1.30 abi-compliance-check.sh (#1979)
1 parent add8f6b commit 54dea31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.evergreen/scripts/abi-compliance-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ current="$(cat VERSION_CURRENT)-${today:?}+git${head_commit:?}" # e.g. 2.3.4-dev
2020
base=$(cat etc/prior_version.txt) # e.g. 1.2.3
2121

2222
# Double-check we are testing against the same API major version.
23-
if [[ "${base_verdir:?}" != 1.* ]]; then
23+
if [[ "${base:?}" != 1.* ]]; then
2424
echo "API major version mismatch: base version is ${base:?} but current version is ${current:?}" >&2
2525
exit 1
2626
fi

0 commit comments

Comments
 (0)