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

Randal L. Schwartz merlyn at stonehenge.com
Tue Apr 19 21:46:52 UTC 2011


>>>>> "Sven" == Sven Van Caekenberghe <sven at beta9.be> writes:

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

readlink -f is a GNU-ism, apparently.  And since OSX isn't GNU (it's
mostly FreeBSD userland), not surprising it breaks.

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

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

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion


More information about the seaside mailing list