diff options
author | David Goulet <dgoulet@torproject.org> | 2021-11-03 09:47:43 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-11-03 09:47:43 -0400 |
commit | 1e3e921d7d2e7bce2f2b7e35ca085a745d242b66 (patch) | |
tree | 942e0a4b57d9e1d193f28c16a01098c50edd385c /doc | |
parent | 77f5bfa60e0030d6c26eb01ea5fb1a04e0b2d6bb (diff) | |
parent | 1902edaf52b66145b0222c6586c2acb9d71980f0 (diff) | |
download | tor-1e3e921d7d2e7bce2f2b7e35ca085a745d242b66.tar.gz tor-1e3e921d7d2e7bce2f2b7e35ca085a745d242b66.zip |
Merge branch 'maint-0.3.5' into maint-0.4.5
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/asciidoc-helper.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/asciidoc-helper.sh b/doc/asciidoc-helper.sh index 10604d31cf..3706ca2e14 100755 --- a/doc/asciidoc-helper.sh +++ b/doc/asciidoc-helper.sh @@ -12,7 +12,8 @@ if [ $# != 3 ]; then exit 1; fi -export SOURCE_DATE_EPOCH=$(git show --no-patch --format='%ct') +SOURCE_DATE_EPOCH="$(git show --no-patch --format='%ct')" +export SOURCE_DATE_EPOCH output=$3 @@ -21,7 +22,7 @@ if [ "$1" = "html" ]; then base=${output%%.html.in} if [ "$2" != none ]; then - TZ=UTC "$2" -f "$(dirname $0)/nofooter.conf" -d manpage -o "$output" "$input"; + TZ=UTC "$2" -f "$(dirname "$0")/nofooter.conf" -d manpage -o "$output" "$input"; else echo "=================================="; echo; |