diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-10-21 03:00:49 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-10-21 03:00:49 -0400 |
commit | 623f13d8198b83df890f014b1d27255f4d78f35b (patch) | |
tree | a38236004dfb3abd99952585638e6141513eaa8c /build-aux/write-atomic | |
parent | be6cdcb499515a8dc200440f9c0f95d16edbaa2d (diff) |
wip
Diffstat (limited to 'build-aux/write-atomic')
-rwxr-xr-x | build-aux/write-atomic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/write-atomic b/build-aux/write-atomic index efb2551f9f..ab2a417c12 100755 --- a/build-aux/write-atomic +++ b/build-aux/write-atomic @@ -15,7 +15,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. outfile=$1 -tmpfile="$(dirname "$outfile")/.tmp${outfile##*/}" +tmpfile="$(dirname "$outfile")/.tmp.${outfile##*/}.tmp" cat > "$tmpfile" || { r=$?; rm -f "$tmpfile"; exit $r; } mv -f "$tmpfile" "$outfile" |