From 31d5aaeaf168da347236328bf67ff8fe6bec391b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 15 Mar 2007 22:31:32 +0000 Subject: [PATCH] pass the output from 'svn update' to this script, and it will say rebuild if a distributed rebuild would be justified git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12790 a1c6a512-1295-4272-9138-f99709370657 --- tools/svnupcheck.pl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 tools/svnupcheck.pl 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 @@ +#!/usr/bin/perl + +# feed this script the output from svn update and it will tell if a rebuild +# is needed/wanted +my $change; +while() { + if(/^([A-Z]+) *(.*)/) { + my ($w, $path) = ($1, $2); + if($path !~ /^(rbutil|manual)/) { + $change++; + } + } +} + +print "rebuild!\n" if($change);