On Monday 24 September 2007, Donnie Berkholz wrote: > On 09:38 Mon 24 Sep , Richard Brown (rbrown) wrote: > > if [ ! -n "$(readlink ${ROOT}usr/bin/ruby)" ] ; then > > ${ROOT}usr/sbin/ruby-config ruby${SLOT/./} > > > > if [ ! -n "$(readlink ${ROOT}usr/bin/ruby)" ] ; then > > ${ROOT}usr/sbin/ruby-config ruby${SLOT/./} > > fi > > ROOT can have spaces in it too.
this is why the form: [[ -n $(readlink "${ROOT}"usr/bin/ruby) ]] is preferred ... much easier to read and no nested quotes -mike
signature.asc
Description: This is a digitally signed message part.