summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2017-01-12 11:22:37 +0100
committerWerner Koch <wk@gnupg.org>2017-01-12 11:22:37 +0100
commit3db76c9277d918dec9721a6439f4db3b3c06aba3 (patch)
treed6a7e06fe07c9a4f1c11c26bbf86752cb4b1d754 /autogen.sh
parentgpg: Rename a var to avoid a shadowing warning. (diff)
downloadgnupg2-3db76c9277d918dec9721a6439f4db3b3c06aba3.tar.xz
gnupg2-3db76c9277d918dec9721a6439f4db3b3c06aba3.zip
build: Make autogen.sh more POSIX friendly (next try)
* autogen.sh: Fix dd count to 5. -- Fixes-commit: 3c00b52f7cb0fbd756c0bbe5134b8f2d69c60dd1 Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index f2af5a7b5..3ef1ea0ea 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -225,7 +225,7 @@ if [ "$myhost" = "find-version" ]; then
fi
[ -n "$tmp" ] && beta=yes
rev=$(git rev-parse --short HEAD | tr -d '\n\r')
- rvd=$((0x$(echo ${rev} | dd bs=1 count=2 2>/dev/null)))
+ rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null)))
else
ingit=no
beta=yes