mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
make.sh: fix git branch read for new git versions.
This commit is contained in:
2
make.sh
2
make.sh
@@ -27,7 +27,7 @@ SNAME="ipfire" # Short name
|
|||||||
VERSION="2.15" # Version number
|
VERSION="2.15" # Version number
|
||||||
CORE="76-beta1" # Core Level (Filename)
|
CORE="76-beta1" # Core Level (Filename)
|
||||||
PAKFIRE_CORE="76" # Core Level (PAKFIRE)
|
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
|
SLOGAN="www.ipfire.org" # Software slogan
|
||||||
CONFIG_ROOT=/var/ipfire # Configuration rootdir
|
CONFIG_ROOT=/var/ipfire # Configuration rootdir
|
||||||
NICE=10 # Nice level
|
NICE=10 # Nice level
|
||||||
|
|||||||
Reference in New Issue
Block a user