[Mageia-sysadm] [317] - fix the check script

root at mageia.org root at mageia.org
Fri Nov 19 01:55:03 CET 2010


Revision: 317
Author:   misc
Date:     2010-11-19 01:55:03 +0100 (Fri, 19 Nov 2010)
Log Message:
-----------
- fix the check script

Modified Paths:
--------------
    puppet/modules/subversion/templates/syntax_check.sh

Modified: puppet/modules/subversion/templates/syntax_check.sh
===================================================================
--- puppet/modules/subversion/templates/syntax_check.sh	2010-11-19 00:55:02 UTC (rev 316)
+++ puppet/modules/subversion/templates/syntax_check.sh	2010-11-19 00:55:03 UTC (rev 317)
@@ -5,7 +5,7 @@
 
 changed=`svnlook changed -t "$TXN" "$REPOS"`
 files=`echo $changed | awk '{print $2}'`
-if echo $files | grep <%= regexp_ext %>
+if echo $files | grep "<%= regexp_ext %>"
 then
    svnlook cat -t "$TXN" "$REPOS" "$files" | <%= check_cmd %>
    if [ $? -ne 0 ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101119/3fb61c1a/attachment.html>


More information about the Mageia-sysadm mailing list