commit 160bf44c9b5bfa6410a74ed7f396de29c151b129 parent 616c06c0b2748db163cbb6882043d24fdbaaf335 Author: Alex Xu (Hello71) <alex_y_xu@yahoo.ca> Date: Tue, 26 Apr 2022 10:12:03 -0400 doc: fix out-of-tree build from git Diffstat:
| M | doc/asciidoc-helper.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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