2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-27 02:43:28 +00:00
rules_foreign_cc/.github/docs-0.4.0.patch
2021-06-22 20:26:07 +00:00

14 lines
389 B
Diff

diff --git a/docs/BUILD.bazel b/docs/BUILD.bazel
index 2bdbf6e..418dd13 100644
--- a/docs/BUILD.bazel
+++ b/docs/BUILD.bazel
@@ -97,7 +97,7 @@ set -euo pipefail
short_commit="$${SHORT_COMMIT}"
commit="$${COMMIT}"
release="$${RELEASE}"
-if [[ -n "\\$${RELEASE}" ]]; then
+if [[ -n "\\$${RELEASE:-}" ]]; then
release="\\$${RELEASE}"
fi
mkdir -p \\$${BUILD_WORKSPACE_DIRECTORY}/src