From ab69b8e9b4666ba2ad89a27b07b6944feb82eadb Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 21 Oct 2016 03:00:49 -0400 Subject: (systemd) wip --- build-aux/write-atomic | 2 +- build-aux/write-ifchanged | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-aux/write-atomic b/build-aux/write-atomic index efb2551..ab2a417 100755 --- a/build-aux/write-atomic +++ b/build-aux/write-atomic @@ -15,7 +15,7 @@ # along with this program. If not, see . 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" diff --git a/build-aux/write-ifchanged b/build-aux/write-ifchanged index 185ceb0..84dfd6e 100755 --- a/build-aux/write-ifchanged +++ b/build-aux/write-ifchanged @@ -15,7 +15,7 @@ # along with this program. If not, see . outfile=$1 -tmpfile="$(dirname "$outfile")/.tmp${outfile##*/}" +tmpfile="$(dirname "$outfile")/.tmp.${outfile##*/}.tmp" cat > "$tmpfile" || exit $? if cmp -s "$tmpfile" "$outfile"; then -- cgit v1.2.2