Skip to content

Commit f592fc0

Browse files
committed
.build/install-gtest: call the die function for consistency
1 parent 4bc5896 commit f592fc0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.build/install-gtest

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ case $cpp_standard in
4444
# least C++14, see https://github.com/google/googletest/releases/tag/v1.16.0
4545
gtest_version_tag=v1.16.0
4646
else
47-
echo "Error: unsupported value $1 of <cpp-standard>" >&2
48-
printf '\n%s\n' "$(usage)" >&2
49-
exit 1
47+
die "Error: unsupported value $1 of <cpp-standard>"
5048
fi
5149
;;
5250
esac

0 commit comments

Comments
 (0)