On 09:59 Thu 04 Oct , Alistair Bush (ali_bush) wrote: > 1.1 eclass/java-virtuals-2.eclass > > file : > http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-virtuals-2.eclass?rev=1.1&view=markup > plain: > http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-virtuals-2.eclass?rev=1.1&content-type=text/plain
> dodir "${JAVA_PKG_VIRTUALS_PATH}" > if [[ -n "${JAVA_VIRTUAL_PROVIDES}" ]]; then > echo "PROVIDERS=\"${JAVA_VIRTUAL_PROVIDES}\"" \ > >> ${JAVA_PKG_VIRTUAL_PROVIDER} > fi > > if [[ -n "${JAVA_VIRTUAL_VM}" ]]; then > echo "VM=\"${JAVA_VIRTUAL_VM}\"" \ > >> ${JAVA_PKG_VIRTUAL_PROVIDER} > fi > > if [[ -n "${JAVA_VIRTUAL_VM_CLASSPATH}" ]]; then > echo "VM_CLASSPATH=\"${JAVA_VIRTUAL_VM_CLASSPATH}\"" \ > >> ${JAVA_PKG_VIRTUAL_PROVIDER} > fi You can use a neat trick with a code block here, along these lines: { echo foo echo bar echo blah } >> file It avoids the possibility of a typo when you're retyping the same filename multiple times, plus it's just cool. Thanks, Donnie -- [EMAIL PROTECTED] mailing list