Skip to content
Permalink
Browse files

scan_includes.pl: fix permissions and catch trailing includes

  • Loading branch information
jef-n committed Jun 10, 2015
1 parent 5d50af0 commit 4bb90e33c4991129194088255e088ea0ef4d8cf6
Showing with 7 additions and 1 deletion.
  1. +7 −1 scripts/sort_includes.pl
8 scripts/sort_includes.pl 100644 → 100755
@@ -26,7 +26,13 @@
our $sorting;

BEGIN { $sorting = 0; }
END { die "header files not empty" if keys %uis || keys %sys || keys %others; }
END {
if( $sorting ) {
print foreach sort keys %uis;
print foreach sort keys %sys;
print foreach sort keys %others;
}
}

if(/^\s*#include/ ) {
if(/"ui_/ ) {

0 comments on commit 4bb90e3

Please sign in to comment.
You can’t perform that action at this time.