[Seaside] Re: Anyone building seaside images on a mac with Jenkins?

Sven Van Caekenberghe sven at beta9.be
Tue Apr 19 21:27:39 UTC 2011


On 19 Apr 2011, at 22:57, Lukas Renggli wrote:

> If anybody knows how to make the build scripts more portable, please
> lt me know. I don't have much bash scripting experience. I wrote and
> tested the scripts only on Ubuntu Server.

$(readlink -f $(dirname $0)) 

seems to be a trick to get at the absolute directory path the current script is in and it does not seem to work on Mac OS X, we always use

MY_HOME=$(dirname $0)
MY_HOME=$(cd $MY_HOME && pwd)

which seems to work on both platforms.

But I would not dare to call myself an expert.

Sven




More information about the seaside mailing list