From 1bf89ec4fde4227f8935f8c91b7ee22d160da581 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Fri, 15 Aug 2014 12:23:06 -0700 Subject: gluegen: directly use git subcommands rather than sed over a temp file git symbolic-ref is the preferred way (as of 1.7.10) to parse the current branch name. This even works for the detached head case. Signed-off-by: Harvey Harrison --- make/build.xml | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) (limited to 'make/build.xml') diff --git a/make/build.xml b/make/build.xml index 534f122..9c96481 100644 --- a/make/build.xml +++ b/make/build.xml @@ -66,27 +66,33 @@ - - - - - - + + + + + + - - - + + + + + + + - + + + + -- cgit v1.2.3