Skip to content

Commit 7066d23

Browse files
committed
Fix misc/check-no-diff on macOS.
`diff` on macOS does not support the `--left-column` flag. Use `sdiff` (side-by-side diff) instead, which is part of diffutils.
1 parent e284526 commit 7066d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/check-no-diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# non-zero error status.
1212

1313
tmpdiff=$(mktemp)
14-
diff --left-column -y $1 $2 > $tmpdiff \
14+
sdiff --left-column $1 $2 > $tmpdiff \
1515
&& echo OK || (cat $tmpdiff; false)
1616
status=$?
1717

0 commit comments

Comments
 (0)