summaryrefslogtreecommitdiff
path: root/util/crossgcc/buildgcc
diff options
context:
space:
mode:
Diffstat (limited to 'util/crossgcc/buildgcc')
-rwxr-xr-xutil/crossgcc/buildgcc4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index fdf8906151..4d269d3f38 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -431,7 +431,7 @@ build()
fi
}
-quit()
+exit_handler()
{
printf "${NC}Stop\n"
exit 1
@@ -807,7 +807,7 @@ print_supported() {
esac
}
-trap quit 1 2 3 15
+trap exit_handler 1 2 3 15
# Look if we have getopt. If not, build it.
export PATH=$PATH:.