Skip to content

Commit 06dfeb3

Browse files
committed
Remove home directory option
Using HOME is causing issues with release service CI. So writing directly to tmp.
1 parent 9ca7763 commit 06dfeb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/reduce-snapshot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ set -o pipefail
3535
# Always use a temp file for WORKING_SNAPSHOT to avoid truncation issues when writing
3636
# the final output to SNAPSHOT_PATH (which may be the same file as SNAPSHOT).
3737

38-
WORKING_SNAPSHOT="$(mktemp "${HOME:-/tmp}/snapshot.XXXXXX")"
38+
WORKING_SNAPSHOT="$(mktemp /tmp/snapshot.XXXXXX)"
3939
if [[ -f "$SNAPSHOT" ]]; then
4040
cp "$SNAPSHOT" "$WORKING_SNAPSHOT"
4141
else

0 commit comments

Comments
 (0)