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 9ca7763 commit 06dfeb3Copy full SHA for 06dfeb3
hack/reduce-snapshot.sh
@@ -35,7 +35,7 @@ set -o pipefail
35
# Always use a temp file for WORKING_SNAPSHOT to avoid truncation issues when writing
36
# the final output to SNAPSHOT_PATH (which may be the same file as SNAPSHOT).
37
38
-WORKING_SNAPSHOT="$(mktemp "${HOME:-/tmp}/snapshot.XXXXXX")"
+WORKING_SNAPSHOT="$(mktemp /tmp/snapshot.XXXXXX)"
39
if [[ -f "$SNAPSHOT" ]]; then
40
cp "$SNAPSHOT" "$WORKING_SNAPSHOT"
41
else
0 commit comments