⛏️ index : buildtools.git

author Ingo Weinhold <ingo_weinhold@gmx.de> 2005-10-29 0:56:06.0 +00:00:00
committer Ingo Weinhold <ingo_weinhold@gmx.de> 2005-10-29 0:56:06.0 +00:00:00
commit
f04816505fe124fc56506bf44e6cfa1020252adf [patch]
tree
8aa63fb9e32434893d493482d6aca0e6e0209f24
parent
3e3080e50623c175ecd3c6790beb7a399963a02f
download
f04816505fe124fc56506bf44e6cfa1020252adf.tar.gz

When bash 3 is run POSIX compatible (e.g. as /bin/sh), invoking "trap" without command argument is not allowed anymore.

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@14562 a95241bf-73f2-0310-859d-f6bbb57e9c96

Diff

 gcc/configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/configure b/gcc/configure
index 0c23252..a09adef 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -687,7 +687,7 @@
if test -f skip-this-dir; then
	# Perform the same cleanup as the trap handler, minus the "exit 1" of course,
	# and reset the trap handler.
	trap 0
	trap '' 0
	rm -f Makefile* ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos
	# Execute the final clean-up actions
	${config_shell} skip-this-dir
@@ -1599,7 +1599,7 @@
# Perform the same cleanup as the trap handler, minus the "exit 1" of course,
# and reset the trap handler.
rm -f ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos
trap 0
trap '' 0

exit 0