tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit dd22c84ccf07214d3d57642c2ba161be496f3607
parent 107e50a90f67ed26a7a24cc6135e5191601184fb
Author: Nick Mathewson <nickm@torproject.org>
Date:   Thu, 24 Jan 2019 08:06:09 -0500

Only run the checkIncludes.py script if it exists

(It was added in 0.3.5)

Diffstat:
Mscripts/maint/pre-commit.git-hook | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/maint/pre-commit.git-hook b/scripts/maint/pre-commit.git-hook @@ -21,5 +21,6 @@ src/test/*.[ch] \ src/test/*/*.[ch] \ src/tools/*.[ch] -python scripts/maint/checkIncludes.py - +if test -e scripts/maint/checkIncludes.py; then + python scripts/maint/checkIncludes.py +fi