chiark / gitweb /
avoid-beta-warning
[gnupg2.git] / autogen.sh
index 92c6df8078f2b4a09c2af6fe7d47b9d3d93f8d14..6b631a24143432f69fdae529b5a1e4a6f50fc510 100755 (executable)
@@ -214,7 +214,7 @@ if [ "$myhost" = "find-version" ]; then
     esac
 
     beta=no
-    if [ -e .git ]; then
+    if false; then
       ingit=yes
       tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null)
       if [ -n "$tmp" ]; then
@@ -228,8 +228,8 @@ if [ "$myhost" = "find-version" ]; then
       rvd=$((0x$(echo ${rev} | head -c 4)))
     else
       ingit=no
-      beta=yes
-      tmp="-unknown"
+      beta=no
+      tmp=""
       rev="0000000"
       rvd="0"
     fi