Code

Fix Debian bug #545940: Failure when run via ePN
[nagiosplug.git] / 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