Fix truncate arg ordering because of stupid OSX.

This commit is contained in:
David Given
2024-05-01 00:25:10 +02:00
parent fdb7837e03
commit 654e7e750c

View File

@@ -21,7 +21,7 @@ if [ ! -s $destfile ]; then
exit 1
fi
truncate $srcfile -r $destfile
truncate -r $destfile $srcfile
if ! cmp $srcfile $destfile; then
echo "Comparison failed!" >&2
echo "Run this to repeat:" >&2