aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-12-14 00:24:19 +0000
committerMichael Scherer <misc@mageia.org>2010-12-14 00:24:19 +0000
commit4a4ffa623c57c6941cd349c66d0bee0bda695e96 (patch)
tree7863ab51ec3834817335ab1817de15e832af8ae3 /modules
parentfbc30d6b3eada04a51284eaac3e8cb82c7bdc45b (diff)
downloadpuppet-4a4ffa623c57c6941cd349c66d0bee0bda695e96.tar
puppet-4a4ffa623c57c6941cd349c66d0bee0bda695e96.tar.gz
puppet-4a4ffa623c57c6941cd349c66d0bee0bda695e96.tar.bz2
puppet-4a4ffa623c57c6941cd349c66d0bee0bda695e96.tar.xz
puppet-4a4ffa623c57c6941cd349c66d0bee0bda695e96.zip
- add $PATH ( prevent spurious errors in puppet post commit script )
Diffstat (limited to 'modules')
-rw-r--r--modules/subversion/templates/syntax_check.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/subversion/templates/syntax_check.sh b/modules/subversion/templates/syntax_check.sh
index 74d7bf4a..35562af0 100644
--- a/modules/subversion/templates/syntax_check.sh
+++ b/modules/subversion/templates/syntax_check.sh
@@ -2,6 +2,7 @@
REPOS="$1"
TXN="$2"
+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}'`