Code

Need to export PATH for sfsnapshot to get correct GNU toolchain
authorTon Voon <tonvoon@users.sourceforge.net>
Wed, 15 Oct 2003 19:27:56 +0000 (19:27 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Wed, 15 Oct 2003 19:27:56 +0000 (19:27 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@747 f882894a-f735-0410-b71e-b25c423dba1c

tools/mail_error

index 71a08be55be0f1729a8ad503874ea6c39ae5bbff..aabb579ce744f55778a29b0c5d867ffb6098a18c 100755 (executable)
@@ -5,7 +5,9 @@
 
 function die { echo $1 ; exit 1; }
 
-PATH=$HOME/bin:$HOME/local/bin:$PATH
+# Must be export so that sfsnapshot uses correct versions
+# of GNU toolchain
+export PATH=$HOME/bin:$HOME/local/bin:$PATH
 
 while getopts "o:m:" c; do
        case $c in