From 82ffcf87b6b9cd84f98ac8543d8e466ce5af95ba Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 15 Oct 2003 19:27:56 +0000 Subject: Need to export PATH for sfsnapshot to get correct GNU toolchain git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@747 f882894a-f735-0410-b71e-b25c423dba1c --- tools/mail_error | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/mail_error b/tools/mail_error index 71a08be5..aabb579c 100755 --- a/tools/mail_error +++ b/tools/mail_error @@ -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 -- cgit v1.2.3-74-g34f1