lxapigen.pl: show full diffs when changing things.
This commit is contained in:
1 parent
fbe6aaf432
commit
bd2a9bf249
1 file changed
+1
-1
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user