Revert "Linux perl; missing from last PR"

This reverts commit d2244b4a79311b4f0d56b68bc2d0a0108cc0fca4.
This commit is contained in:
Nyall Dawson 2018-01-30 10:32:43 +10:00
parent d2244b4a79
commit e5ab743d6d
3 changed files with 4 additions and 4 deletions

View File

@ -77,8 +77,8 @@ astyleit() {
$ASTYLE --options="$ASTYLEOPTS" "$1"
modified=$1.unify_includes_modified
cp "$1" "$modified"
scripts/unify_includes.pl -i.sortinc -n "$modified"
scripts/doxygen_space.pl -0 -i.sortinc -n "$modified"
scripts/unify_includes.pl "$modified"
scripts/doxygen_space.pl "$modified"
diff "$1" "$modified" >/dev/null || mv "$modified" "$1"
rm -f "$modified"
}

View File

@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/env perl -0 -i.sortinc -n
###########################################################################
# doxygen_space.pl
# ---------------------

View File

@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/env perl -i.sortinc -n
###########################################################################
# unify_includes.pl
# ---------------------