aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/templates/syntax_check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules/subversion/templates/syntax_check.sh')
-rw-r--r--modules/subversion/templates/syntax_check.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/subversion/templates/syntax_check.sh b/modules/subversion/templates/syntax_check.sh
index 76141e54..3960cdab 100644
--- a/modules/subversion/templates/syntax_check.sh
+++ b/modules/subversion/templates/syntax_check.sh
@@ -6,13 +6,13 @@ export PATH="/bin/:/sbin/:/usr/bin/:/usr/sbin/:/usr/local/bin:/usr/local/sbin/"
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 %>
+ svnlook cat -t "$TXN" "$REPOS" "$files" | <%= check_cmd %>
if [ $? -ne 0 ]
then
echo "Syntax error in $files." 1>&2
- echo "Check it with <%= @check_cmd %>" 1>&2
+ echo "Check it with <%= check_cmd %>" 1>&2
exit 1
fi
fi