check-exports: Use the return code of diff rather than the output
authorJan Schmidt <thaytan@noraisin.net>
Mon, 25 May 2009 15:58:51 +0000 (16:58 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Mon, 25 May 2009 15:58:51 +0000 (16:58 +0100)
commit9996f728e7aa207cafd904c2d2ed87fe02c9accc
treefd87a7f2160f19a3aed727f30c08c1a1a710dda1
parent888e0a268b60904dd208b672a3c57f1ff7d9786c
check-exports: Use the return code of diff rather than the output

diff on Solaris prints 'No differences found' for matching files, which
makes the check-exports call fail regardless of whether the exports match
or not. Instead, use the return code of diff, which is 0 when the files match.
check-exports