Loading doc/asciidoc-helper.sh +5 −4 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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; Loading @@ -46,8 +47,8 @@ elif [ "$1" = "man" ]; then echo "=================================="; exit 1; fi if "$2" -f manpage $input; then mv $base.1 $output; if "$2" -f manpage "$input"; then mv "$base.1" "$output"; else cat<<EOF ================================== Loading scripts/ci/ci-driver.sh +1 −1 Original line number Diff line number Diff line Loading @@ -287,7 +287,7 @@ fi ############################################################################# # Determine the version of Tor. TOR_VERSION=$(grep -m 1 AC_INIT ${CI_SRCDIR}/configure.ac | sed -e 's/.*\[//; s/\].*//;') TOR_VERSION=$(grep -m 1 AC_INIT "${CI_SRCDIR}"/configure.ac | sed -e 's/.*\[//; s/\].*//;') # Use variables like these when we need to behave differently depending on # Tor version. Only create the variables we need. Loading Loading
doc/asciidoc-helper.sh +5 −4 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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; Loading @@ -46,8 +47,8 @@ elif [ "$1" = "man" ]; then echo "=================================="; exit 1; fi if "$2" -f manpage $input; then mv $base.1 $output; if "$2" -f manpage "$input"; then mv "$base.1" "$output"; else cat<<EOF ================================== Loading
scripts/ci/ci-driver.sh +1 −1 Original line number Diff line number Diff line Loading @@ -287,7 +287,7 @@ fi ############################################################################# # Determine the version of Tor. TOR_VERSION=$(grep -m 1 AC_INIT ${CI_SRCDIR}/configure.ac | sed -e 's/.*\[//; s/\].*//;') TOR_VERSION=$(grep -m 1 AC_INIT "${CI_SRCDIR}"/configure.ac | sed -e 's/.*\[//; s/\].*//;') # Use variables like these when we need to behave differently depending on # Tor version. Only create the variables we need. Loading