Mercurial > dovecot > core-2.2
changeset 19542:76aa68b2b265
update-version.sh: Explicitly specify git directory.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Thu, 07 Jan 2016 22:02:18 +0200 |
parents | af2ddcf54f92 |
children | de4a1694f66c |
files | update-version.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/update-version.sh Tue Jan 05 11:17:26 2016 -0500 +++ b/update-version.sh Thu Jan 07 22:02:18 2016 +0200 @@ -39,7 +39,7 @@ # Lets generate the dovecot-version.h [ -f "${BUILDDIR}/${VERSION_HT}" ] && rm -f "${BUILDDIR}/${VERSION_HT}" if true; then - GITID=`git rev-parse --short HEAD` + GITID=`git --git-dir ${SRCDIR}/.git rev-parse --short HEAD` cat > "${BUILDDIR}/${VERSION_HT}" <<EOF #ifndef DOVECOT_VERSION_H #define DOVECOT_VERSION_H