aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-12-14 17:25:29 -0500
committerRob Austein <sra@hactrn.net>2016-12-14 17:25:29 -0500
commit0da2ab129889b05fdd099b29b424c305f25dad4e (patch)
treee77a9459dda24bdc06d6278eae74af5b65052bb1 /Makefile
parent0513b6b9cb383c4920814af8e476be41eb32cfa0 (diff)
parent05b269a88a47d3f9cb3d22d1d638cdff8f012da5 (diff)
Merge branch 'master' into ksng.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3d4fde2..d3318e9 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ PACKAGE_BASE_VERSION := 2.0
GIT_VERSION := $(shell git show -s --format=%ct HEAD)
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
-GIT_BRANCHES := $(notdir $(shell git for-each-ref --format '%(refname)' refs/heads/))
+GIT_BRANCHES := $(filter-out HEAD,$(sort $(notdir $(shell git for-each-ref --format '%(refname)' refs/heads/ refs/remotes/))))
# Make voodoo: construct the package name, version number, and list of
# other package names (constructed on other branches) with which this