On Tue, 23 Dec 2008 15:30:39 +0100 Tomasz Chmielewski <mangoo@xxxxxxxx> wrote: > > +EXTRAVERSION = $(if $(shell git-show-ref 2>/dev/null),-git-$(shell git-show-ref --heads --abbrev|grep "refs/heads/master"|awk '{print $$1}')) > > We can get rid of grep and only use awk: > > git-show-ref --heads --abbrev|awk '/refs\/heads\/master/{print $1}' Thanks, I see. > > -Report bugs to <stgt-devel@xxxxxxxxxxxxxxxx>.\n"); > > +Report bugs to <stgt-devel@xxxxxxxxxxxxxxxx>.\n", TGT_VERSION); > > If we're here, let's use a new address: stgt vger.kernel.org Yeah, I'll update it in another patch. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html