diff --git a/tools/mail_error b/tools/mail_error
index 71a08be55be0f1729a8ad503874ea6c39ae5bbff..aabb579ce744f55778a29b0c5d867ffb6098a18c 100755 (executable)
--- a/tools/mail_error
+++ b/tools/mail_error
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