From 28564376b810bd3040256827dea6c8ec0ea03a70 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 14 Jun 2008 01:17:57 +0200 Subject: Recursively expand currentbranch, as it may change inside same build target. --- make/git.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make') diff --git a/make/git.mk b/make/git.mk index 332d82f..f8436f8 100644 --- a/make/git.mk +++ b/make/git.mk @@ -7,7 +7,7 @@ branches = $(master) # local name of origin origin = origin -currentbranch := $(shell git branch | grep ^\* | awk '{ print $2 }') +currentbranch = $(shell git branch | grep ^\* | awk '{ print $2 }') noncurrentbranches = $(filter-out $(currentbranch),$(branches)) update: -- cgit v1.2.3