summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2003-10-15 19:27:56 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2003-10-15 19:27:56 (GMT)
commit82ffcf87b6b9cd84f98ac8543d8e466ce5af95ba (patch)
tree128116745fce52dbbf123663058e96af7d6c9300
parente4354556c3f4a1c4631c4feb1979fdabc07b1e06 (diff)
downloadmonitoring-plugins-82ffcf87b6b9cd84f98ac8543d8e466ce5af95ba.tar.gz
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
-rwxr-xr-xtools/mail_error4
1 files changed, 3 insertions, 1 deletions
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 @@
5 5
6function die { echo $1 ; exit 1; } 6function die { echo $1 ; exit 1; }
7 7
8PATH=$HOME/bin:$HOME/local/bin:$PATH 8# Must be export so that sfsnapshot uses correct versions
9# of GNU toolchain
10export PATH=$HOME/bin:$HOME/local/bin:$PATH
9 11
10while getopts "o:m:" c; do 12while getopts "o:m:" c; do
11 case $c in 13 case $c in