From ef4485356f9c73ff201bf8ba9b59bb885eaa3826 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 12 Nov 2002 00:08:25 +0000 Subject: [PATCH] SH compatible function declaration syntax. [SVN r16203] --- src/engine/build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/engine/build.sh b/src/engine/build.sh index 6f6b8b36e..569179442 100755 --- a/src/engine/build.sh +++ b/src/engine/build.sh @@ -8,7 +8,7 @@ # Reset the toolset. BOOST_JAM_TOOLSET= -function echo_run () +function echo_run { echo "$@" "$@" @@ -17,7 +17,7 @@ function echo_run () exit $r fi } -function error_exit() +function error_exit { echo "###" echo "###" "$@" @@ -29,18 +29,18 @@ function error_exit() echo "###" exit 1 } -function test_path () +function test_path { hash $1 2>/dev/null } -function test_uname () +function test_uname { if test_path uname; then test `uname` = $* fi } # Try and guess the toolset to bootstrap the build with... -function Guess_Toolset () +function Guess_Toolset { if test_uname Darwin ; then BOOST_JAM_TOOLSET=darwin elif test_path gcc ; then BOOST_JAM_TOOLSET=gcc