]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - distro/Makefile
Fix unary minus on vector
[xonotic/gmqcc.git] / distro / Makefile
index 49555b895f43ebf8b4f4b1f5367b5224bea420bb..384b1fac61516a40f94b15a6b1239e565532016e 100644 (file)
@@ -1,7 +1,7 @@
 DROPBOX := dropbox_uploader.sh
 UNAME   := $(shell uname -m)
 DOWNLOAD:= ../doc/html/download.c
-BRANCH  := $(shell git branch | sed -n -e 's/^\* \(.*\)/\1/p')
+BRANCH  := $(shell git rev-parse --abbrev-ref HEAD)
 ifneq ($(shell uname -m), x86_64)
     $(error Cannot build packages without an x86_64 capable CPU)
 endif