From: Michael Tremer Date: Wed, 28 Jan 2009 20:27:41 +0000 (+0100) Subject: Make a non-working git tag silent. X-Git-Tag: v3.0-alpha1~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94477601751bde322801ab3ec6bf7e5b9484cb33;p=ipfire-3.x.git Make a non-working git tag silent. --- diff --git a/tools/make-constants b/tools/make-constants index 4ef8a7881..e7d6b55fa 100644 --- a/tools/make-constants +++ b/tools/make-constants @@ -41,7 +41,7 @@ KVER=$(grep --max-count=1 VER lfs/linux | awk '{ print $3 }' | tr -d '\n'; grep MACHINE_REAL=$(uname -m) # Read in our tag -GIT_TAG=$(git tag | tail -1) +GIT_TAG=$(git tag 2>/dev/null | tail -1) # Embedded build EMB=0