X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on fly.srk.fer.hr X-Spam-Level: X-Spam-Status: No, score=-1.0 required=6.3 tests=ALL_TRUSTED autolearn=disabled version=3.4.0 Date: Fri, 17 Jul 2015 00:45:34 +0200 From: "Ivan Stankovic (pokemon AT fly DOT srk DOT fer DOT hr) [via geda-user AT delorie DOT com]" To: "Hannu Vuolasaho (vuokko AT msn DOT com) [via geda-user AT delorie DOT com]" Subject: Re: [geda-user] Re: geda-gaf on FreeBSD and probably other architectures Message-ID: <20150716224534.GA4233@alpha2> References: <1507142204 DOT AA17911 AT ivan DOT Harhan DOT ORG> <55A58A48 DOT 80501 AT neurotica DOT com> <20150715014343 DOT GA6516 AT recycle DOT lbl DOT gov> <20150716161104 DOT 7869 DOT qmail AT stuge DOT se> <30E19982-8884-4108-B948-326609737EED AT noqsi DOT com> <201507162147 DOT t6GLl4dV030719 AT envy DOT delorie DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: GNU/Linux User-Agent: Mutt/1.5.23+102 (2ca89bed6448) (2014-03-12) Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, Jul 17, 2015 at 01:12:35AM +0300, Hannu Vuolasaho (vuokko AT msn DOT com) [via geda-user AT delorie DOT com] wrote: > > > > >> CURRENT_VERSION := $(shell git describe --abbrev=4 --dirty --always --tags) > >> CURRENT_BRANCH := $(shell git branch|cut -f 2- -d ' ') > > > > That wouldn't work for me... > > For me neither. git branch|grep '*'|cut -f 2- -d ' ' > > I copied it from latest and only project I had it wrong. Try git branch | sed -n 's/^* //p' -- Ivan Stankovic, pokemon AT fly DOT srk DOT fer DOT hr "Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm"