From f04816505fe124fc56506bf44e6cfa1020252adf Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 29 Oct 2005 00:56:06 +0000 Subject: [PATCH] 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 --- 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 -- gitore 0.2.3