summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-10-21 03:00:49 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-10-21 03:00:49 -0400
commitab69b8e9b4666ba2ad89a27b07b6944feb82eadb (patch)
tree93ed01061806f33d29e6e4f447412bbe75244fe5 /build-aux
parent7af3811df0e4d8707d8218361dd305f42df62be2 (diff)
(systemd) wip
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/write-atomic2
-rwxr-xr-xbuild-aux/write-ifchanged2
2 files changed, 2 insertions, 2 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"
diff --git a/build-aux/write-ifchanged b/build-aux/write-ifchanged
index 185ceb0039..84dfd6e639 100755
--- a/build-aux/write-ifchanged
+++ b/build-aux/write-ifchanged
@@ -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" || exit $?
if cmp -s "$tmpfile" "$outfile"; then