Angus Leeming <[EMAIL PROTECTED]> writes: | I have a little wrapper script for configure that I invoke | $ ./configure-14x devel xforms qt | to configure the devel dir ready to build the xforms and qt frontends. > | It used to end: > | CONFIGURE="../configure --enable-maintainer-mode --with-version-suffix | --with-included-gettext --with-frontend=${FRONTEND}" > | echo ${CONFIGURE} | cd ${BUILDDIR} | ${CONFIGURE} > | But now we can build multiple frontends in the same build directory, that | CONFIGURE definition needs "'" quotes around the $FRONTEND variable: > | CONFIGURE="../configure --enable-maintainer-mode --with-version-suffix | --with-included-gettext --with-frontend='${FRONTEND}'" > | Unfortunately, this means that the final | ${CONFIGURE} | no longer works and I have to replace it with an explicit > | ../configure --enable-maintainer-mode --with-version-suffix | --with-included-gettext --with-frontend='${FRONTEND}' > | Is there an elegant solution or am I stuck with having to replicate stuff?
tried it a bit more: var="\\\"hello there\\\"" foo="echo --with=$var" eval $foo seems to do what you want. -- Lgb