On Wed, Apr 17, 2013 at 5:36 PM, Eric Brine <ikegami@adaelis.com> wrote: > Reopened ticket. Will get a patch out shortly. If you want, you can run the > following to make sure it'll work: > > quote() { case "$1" in '') echo "''" ;; *) echo "$1" | sed > 's/\([^a-zA-Z0-9.:_\-\/]\)/\\\1/g' ;; esac; } > x=\(bar\) > mkdir \(foo\) > cd \(foo\) > pwd="`pwd`" > ldlibpth="x=` quote "$pwd" `:` quote "$x" `" > echo "$ldlibpth" > > Should give: > > x=/home/ikegami/\(foo\):\(bar\) I've verified that this does give the expected result with the Solaris /bin/sh. Thanks! --GisleThread Previous | Thread Next