(minor) who-pushed adc falls afoul of egrep incompat between Linux distros!

It seems even within Linux, not all "egrep"s are equal.  So we fall back
to the one true standard :-)

[caught by Jeff from the KDE team]
This commit is contained in:
Sitaram Chamarty 2011-02-24 16:45:44 +05:30
parent bdef55eee9
commit cec94a3664

View file

@ -20,7 +20,7 @@ logdir=$(dirname $GL_LOG) # uncodumented env var ;-)
ls $logdir | tac | while read lf
do
< $logdir/$lf grep receive-pack | egrep "\s$repo\s" | cut -f1,2,3,5- | tac
< $logdir/$lf perl -ne "print if /receive-pack.*\s$repo\s/" | cut -f1,2,3,5- | tac
done | while read ts who IP perm old new repo ref rule
do
save_old=$old