diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-10-15 19:27:56 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-10-15 19:27:56 +0000 |
commit | 82ffcf87b6b9cd84f98ac8543d8e466ce5af95ba (patch) | |
tree | 128116745fce52dbbf123663058e96af7d6c9300 | |
parent | e4354556c3f4a1c4631c4feb1979fdabc07b1e06 (diff) | |
download | monitoring-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-x | tools/mail_error | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
5 | 5 | ||
6 | function die { echo $1 ; exit 1; } | 6 | function die { echo $1 ; exit 1; } |
7 | 7 | ||
8 | PATH=$HOME/bin:$HOME/local/bin:$PATH | 8 | # Must be export so that sfsnapshot uses correct versions |
9 | # of GNU toolchain | ||
10 | export PATH=$HOME/bin:$HOME/local/bin:$PATH | ||
9 | 11 | ||
10 | while getopts "o:m:" c; do | 12 | while getopts "o:m:" c; do |
11 | case $c in | 13 | case $c in |