From: Daniel Kahn Gillmor Date: Thu, 11 Jun 2015 18:26:16 -0400 Subject: avoid identifying as beta If we build from git-buildpackage using autoreconf, it comes out looking like a beta because we're not on a git tag. This patch avoids that situation. --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/autogen.sh +++ b/autogen.sh @@ -249,7 +249,7 @@ if [ "$myhost" = "find-version" ]; then fi beta=no - if [ -e .git ]; then + if false; then ingit=yes tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null) tmp=$(echo "$tmp" | sed s/^"$package"//) @@ -265,8 +265,8 @@ if [ "$myhost" = "find-version" ]; then rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null))) else ingit=no - beta=yes - tmp="-unknown" + beta=no + tmp="" rev="0000000" rvd="0" fi