]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Make a non-working git tag silent.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Jan 2009 20:27:41 +0000 (21:27 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Jan 2009 20:27:41 +0000 (21:27 +0100)
tools/make-constants

index 4ef8a7881f3affd6ee8b4d22ae1aae4685e62861..e7d6b55fa24206bd287795697e3186d22a59c70e 100644 (file)
@@ -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