commit c8be73d92ed5f6e439a9b51209ac33b8f519dfec parent 95f84c96ce75256748e092db91c6ebaef470281e Author: David Goulet <dgoulet@torproject.org> Date: Thu, 20 Nov 2025 16:03:45 +0000 Merge branch 'source-epoch' into 'main' make git requirement in docs build avoidable See merge request tpo/core/tor!956 Diffstat:
| M | doc/asciidoc-helper.sh | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/doc/asciidoc-helper.sh b/doc/asciidoc-helper.sh @@ -12,8 +12,10 @@ if [ $# != 3 ]; then exit 1 fi -SOURCE_DATE_EPOCH="$(git -C "$(dirname "$0")" show --no-patch --format='%ct')" -export SOURCE_DATE_EPOCH +if [ -z "$SOURCE_DATE_EPOCH" ]; then + SOURCE_DATE_EPOCH="$(git -C "$(dirname "$0")" show --no-patch --format='%ct')" + export SOURCE_DATE_EPOCH +fi output=$3