[Mageia-sysadm] [591] - add $PATH ( prevent spurious errors in puppet post commit script )

root at mageia.org root at mageia.org
Tue Dec 14 01:24:19 CET 2010


Revision: 591
Author:   misc
Date:     2010-12-14 01:24:19 +0100 (Tue, 14 Dec 2010)
Log Message:
-----------
- add $PATH ( prevent spurious errors in puppet post commit 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-12-14 00:22:33 UTC (rev 590)
+++ puppet/modules/subversion/templates/syntax_check.sh	2010-12-14 00:24:19 UTC (rev 591)
@@ -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}'`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101214/195528f2/attachment.html>


More information about the Mageia-sysadm mailing list