summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/svnupcheck.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/svnupcheck.pl b/tools/svnupcheck.pl
new file mode 100755
index 0000000000..723305bbce
--- /dev/null
+++ b/tools/svnupcheck.pl
@@ -0,0 +1,15 @@
1#!/usr/bin/perl
2
3# feed this script the output from svn update and it will tell if a rebuild
4# is needed/wanted
5my $change;
6while(<STDIN>) {
7 if(/^([A-Z]+) *(.*)/) {
8 my ($w, $path) = ($1, $2);
9 if($path !~ /^(rbutil|manual)/) {
10 $change++;
11 }
12 }
13}
14
15print "rebuild!\n" if($change);