From bd2a9bf24934d855ef3d7e7853018388b1ff3c0b Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 6 Jun 2018 17:26:20 -0400 Subject: [PATCH] lxapigen.pl: show full diffs when changing things. --- lxapigen.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxapigen.pl b/lxapigen.pl index 31ebbb9..f48dc4e 100755 --- a/lxapigen.pl +++ b/lxapigen.pl @@ -229,7 +229,7 @@ EOF close(OUT); - if ((system("diff --brief '$finalfname' '$outfname'") == -1) || ($? != 0)) { + if ((system("diff -u '$finalfname' '$outfname'") == -1) || ($? != 0)) { rename($outfname, $finalfname) or die("Failed to rename '$outfname' to '$finalfname': $!\n"); } else { unlink($outfname); # they match, just delete the new copy so build system doesn't rebuild everything.