summaryrefslogtreecommitdiff
path: root/build-aux/write-ifchanged
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/write-ifchanged')
-rwxr-xr-xbuild-aux/write-ifchanged2
1 files changed, 1 insertions, 1 deletions
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 <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