source: genesis/tools/before-commit.sh@ 13398

Last change on this file since 13398 was 10376, checked in by rick, 13 years ago

IP cannot be shared between normal and hybrid proxy.

  • Property svn:executable set to *
File size: 314 bytes
RevLine 
[7075]1#!/bin/sh
2# Check all wleiden.conf files on valid perl syntax for people not familiar
3# with perl to generate right configs
4
[10068]5PATH=$PATH:/usr/local/bin
[7075]6DIRNAME=`dirname $0`
7
8RETVAL=0
[10376]9python $DIRNAME/syntax-checker.py || RETVAL=1
[7075]10
11if [ "${RETVAL}" -eq 1 ]; then
12 echo "Please fix errors before commit!"
13 exit 1
14fi
Note: See TracBrowser for help on using the repository browser.