make.sh: fix git branch read for new git versions.

This commit is contained in:
Arne Fitzenreiter
2014-01-12 23:19:35 +01:00
parent 9ac43fb9e1
commit 595e89a877

View File

@@ -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