We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0413e6 commit a581b4aCopy full SHA for a581b4a
1 file changed
scripts/release/release-macos-dmg.sh
@@ -78,7 +78,14 @@ validate_allowed_path() {
78
normalized="$(normalize_abs_path "$path")"
79
80
case "$normalized" in
81
- "$REPO_ROOT/build" | "$REPO_ROOT/build/"* | /tmp | /tmp/* | /var/folders | /var/folders/*)
+ /tmp | /var/folders)
82
+ echo "$label must not be the temp root directory: $normalized" >&2
83
+ exit 1
84
+ ;;
85
+ esac
86
+
87
+ case "$normalized" in
88
+ "$REPO_ROOT/build" | "$REPO_ROOT/build/"* | /tmp/* | /var/folders/*)
89
printf '%s\n' "$normalized"
90
;;
91
*)
0 commit comments