3 # this utility is to compare the current build settings with the one from onelab
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 (taken from k32)"
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 () {
31 a=$REF/onelab-k32-tags.mk
33 echo "Checking tags $a $b"
34 diff -w $REF/onelab-k32-tags.mk wextoolbox-tags.mk | egrep -v '^(<|>) #|SVNBRANCH|nozomi|comgt|planetlab-umts-tools|boost|gnuradio|bbn_80211|crunchxml|spectools|ejabberd|omf|DistributedRateLimiting|openvswitch|sfa-|sface-|^[0-9,c]*$|^---$'
37 [[ -z "$@" ]] && usage