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.
2 parents a60673e + 64f3ff3 commit 3ae3564Copy full SHA for 3ae3564
GIT-VERSION-GEN
@@ -86,11 +86,11 @@ sed -e "s|@GIT_VERSION@|$GIT_VERSION|" \
86
-e "s|@GIT_BUILT_FROM_COMMIT@|$GIT_BUILT_FROM_COMMIT|" \
87
-e "s|@GIT_USER_AGENT@|$GIT_USER_AGENT|" \
88
-e "s|@GIT_DATE@|$GIT_DATE|" \
89
- "$INPUT" >"$OUTPUT"+
+ "$INPUT" >"$OUTPUT".$$+
90
91
-if ! test -f "$OUTPUT" || ! cmp "$OUTPUT"+ "$OUTPUT" >/dev/null
+if ! test -f "$OUTPUT" || ! cmp "$OUTPUT".$$+ "$OUTPUT" >/dev/null
92
then
93
- mv "$OUTPUT"+ "$OUTPUT"
+ mv "$OUTPUT".$$+ "$OUTPUT"
94
else
95
- rm "$OUTPUT"+
+ rm "$OUTPUT".$$+
96
fi
0 commit comments