diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2016-01-13 09:22:37 +0100 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2016-01-13 09:22:37 +0100 |
commit | 96237b9a63a50aed1884cb06f84279b977d6a8fa (patch) | |
tree | 36699a6c857a8af5f4c52e18853a1740b09fc2f4 /autogen.sh | |
parent | ssh: Accept OpenSSH *cert-v01 key variants. (diff) | |
download | gnupg2-96237b9a63a50aed1884cb06f84279b977d6a8fa.tar.xz gnupg2-96237b9a63a50aed1884cb06f84279b977d6a8fa.zip |
Fix to support git worktree.
* autogen.sh, Makefile.am, doc/Makefile.am: Use -e for testing .git.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index 3fe24ead8..7d843bda0 100755 --- a/autogen.sh +++ b/autogen.sh @@ -214,7 +214,7 @@ if [ "$myhost" = "find-version" ]; then esac beta=no - if [ -d .git ]; then + if [ -e .git ]; then ingit=yes tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null) if [ -n "$tmp" ]; then |