Change validate-files.py to use environment variables to provide arguments.
This allows the use of proper quoting to prevent any shell meta characters
in the filename from being interpreted.
* tools/hook-scripts/validate-files.py
(Commands.user_command): Set the environment and pass it thorugh to the
command.
Fix some tab characters that accidentally slipped in.
No longer need Template from the string module.
* tools/hook-scripts/validate-files.conf.example:
Adjust example conf file to reflect the change to environment vars.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1429444 13f79535-47bb-0310-9956-ffa450edef68
2 files changed