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

Last change on this file since 10109 was 10090, checked in by rick, 13 years ago

No need to check all the perl stuff anymore.

  • Property svn:executable set to *
File size: 305 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 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.