From 82ffcf87b6b9cd84f98ac8543d8e466ce5af95ba Mon Sep 17 00:00:00 2001
From: Ton Voon <tonvoon@users.sourceforge.net>
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

diff --git a/tools/mail_error b/tools/mail_error
index 71a08be..aabb579 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 v0.10-9-g596f

