[tor-commits] [tor] 01/04: doc: fix out-of-tree build from git
gitolite role
git at cupani.torproject.org
Tue May 24 17:13:03 UTC 2022
This is an automated email from the git hooks/post-receive script.
dgoulet pushed a commit to branch main
in repository tor.
commit 160bf44c9b5bfa6410a74ed7f396de29c151b129
Author: Alex Xu (Hello71) <alex_y_xu at yahoo.ca>
AuthorDate: Tue Apr 26 10:12:03 2022 -0400
doc: fix out-of-tree build from git
---
doc/asciidoc-helper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/asciidoc-helper.sh b/doc/asciidoc-helper.sh
index 98e216e68a..a3e2f8f9bf 100755
--- a/doc/asciidoc-helper.sh
+++ b/doc/asciidoc-helper.sh
@@ -12,7 +12,7 @@ if [ $# != 3 ]; then
exit 1
fi
-SOURCE_DATE_EPOCH="$(git show --no-patch --format='%ct')"
+SOURCE_DATE_EPOCH="$(git -C "$(dirname "$0")" show --no-patch --format='%ct')"
export SOURCE_DATE_EPOCH
output=$3
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tor-commits
mailing list