Last change
on this file since 10156 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
|
Rev | Line | |
---|
[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] | 5 | PATH=$PATH:/usr/local/bin
|
---|
[7075] | 6 | DIRNAME=`dirname $0`
|
---|
| 7 |
|
---|
| 8 | RETVAL=0
|
---|
[10090] | 9 | python syntax-checker.py || RETVAL=1
|
---|
[7075] | 10 |
|
---|
| 11 | if [ "${RETVAL}" -eq 1 ]; then
|
---|
| 12 | echo "Please fix errors before commit!"
|
---|
| 13 | exit 1
|
---|
| 14 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.