summaryrefslogtreecommitdiff
path: root/build-aux/write-ifchanged
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/write-ifchanged')
-rwxr-xr-xbuild-aux/write-ifchanged6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/write-ifchanged b/build-aux/write-ifchanged
index 84dfd6e..4571676 100755
--- a/build-aux/write-ifchanged
+++ b/build-aux/write-ifchanged
@@ -17,9 +17,9 @@
outfile=$1
tmpfile="$(dirname "$outfile")/.tmp.${outfile##*/}.tmp"
-cat > "$tmpfile" || exit $?
+cat >"$tmpfile" || exit $?
if cmp -s "$tmpfile" "$outfile"; then
- rm -f "$tmpfile" || :
+ rm -f "$tmpfile" || :
else
- mv -f "$tmpfile" "$outfile"
+ mv -f "$tmpfile" "$outfile"
fi