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

Last change on this file since 12624 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
Line 
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
5PATH=$PATH:/usr/local/bin
6DIRNAME=`dirname $0`
7
8RETVAL=0
9python $DIRNAME/syntax-checker.py || RETVAL=1
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.