Re: [taskjuggler-devel] PATCH: fix TestSuite/testdir portability

From: Chris Schlaeger (cs_at_suse.de)
Date: Mon Jan 12 2004 - 11:52:22 CET


From: Chris Schlaeger <cs@suse.de>
Date: Mon, 12 Jan 2004 11:52:22 +0100
Message-Id: <200401121152.23284.cs@suse.de>
Subject: Re: [taskjuggler-devel] PATCH: fix TestSuite/testdir portability

Sorry, but this patch breaks the script on Linux. The 'function' is correct
bash syntax. Where do you have problems with it?

Chris

On Friday 02 January 2004 13:12, Gerald Pfeifer wrote:
> I found that TaskJuggler is quite portable, and plan to submit patches to
> address the remaining few issues in the near future. The first one is an
> easy one. ;-)
>
> Suggested ChangeLog:
> Avoid BASH-ism in TestSuite/testdir.
>
> --- ./TestSuite/testdir.orig Tue Aug 12 22:48:49 2003
> +++ ./TestSuite/testdir Fri Jan 2 13:07:06 2004
> @@ -12,7 +12,7 @@ else
> export TASKJUGGLER=../$TASKJUGGLER
> fi
>
> -function do_testing
> +do_testing()
> {
> f=$1
> op=$2
>
> Gerald
> --
> Gerald Pfeifer (Jerry) gerald@pfeifer.com
> http://www.pfeifer.com/gerald/

-- 
KDE 3.1: Conquer your Enterprise Desktop!  See http://www.kde.org!
GPG Key: 1024D/0500838B  A5FE C051 2AFC 9A14 768A  5125 5829 5750 0500 838B




This archive was generated by hypermail 2.1.7 : Mon Jan 12 2004 - 11:52:25 CET