diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-06-14 01:17:57 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-06-14 01:17:57 +0200 |
commit | 28564376b810bd3040256827dea6c8ec0ea03a70 (patch) | |
tree | 985ab7e526cfa53e4034cd0f90dfff129f8c9f2f /make | |
parent | 52f169ea3440eac1df07bca4ab9871840ce8f8af (diff) |
Recursively expand currentbranch, as it may change inside same build target.
Diffstat (limited to 'make')
-rw-r--r-- | make/git.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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: |