From 595e89a87745e8f1f202d86a7dd0e9e2f1cb4783 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 12 Jan 2014 23:19:35 +0100 Subject: [PATCH] make.sh: fix git branch read for new git versions. --- make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.sh b/make.sh index fa153c445..5d1266507 100755 --- a/make.sh +++ b/make.sh @@ -27,7 +27,7 @@ SNAME="ipfire" # Short name VERSION="2.15" # Version number CORE="76-beta1" # Core Level (Filename) PAKFIRE_CORE="76" # Core Level (PAKFIRE) -GIT_BRANCH=`git status | head -n1 | cut -d" " -f4` # Git Branch +GIT_BRANCH=`git rev-parse --abbrev-ref HEAD` # Git Branch SLOGAN="www.ipfire.org" # Software slogan CONFIG_ROOT=/var/ipfire # Configuration rootdir NICE=10 # Nice level -- 2.39.2