[stgt] [PATCH] show tgtd and tgtadm version

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Tue Dec 23 16:14:34 CET 2008


On Tue, 23 Dec 2008 15:30:39 +0100
Tomasz Chmielewski <mangoo at wpkg.org> 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 at lists.berlios.de>.\n");
> > +Report bugs to <stgt-devel at lists.berlios.de>.\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 at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list