3 # this utility is to compare the current build settings with the one from mainstream
10 echo "Usage: $COMMAND update|body|tags"
11 echo "update: performs svn up on the mainstream build dir"
12 echo "body: compares the .mk file"
13 echo "tags: compares the tags (from lxc-tags.mk)"
23 function check_body () {
26 echo "Checking body $a $b"
27 diff -w $a $b | egrep -v '^(<|>)( #| +$)|nozomi|comgt|planetlab-umts-tools|boost|gnuradio|bbn|crunchxml|spectools|sge|iwlwifi|kernelconfig=planetlab|umts|DistributedRateLimiting'
30 function check_tags () {
33 sed -e s,onelab.eu,planet-lab.org,g $b > $b.norm
34 echo "Checking tags $a $b"
35 diff -w $REF/lxc-tags.mk $b.norm | egrep -v '^(<|>) #|SVNBRANCH|nozomi|comgt|planetlab-umts-tools|boost|gnuradio|bbn_80211|crunchxml|spectools|ejabberd|omf|DistributedRateLimiting|openvswitch|sfa-|sface-|^[0-9,c]*$|^---$'
38 [[ -z "$@" ]] && usage