From c6672da7bb06ecd6541b50353855ad658136428f Mon Sep 17 00:00:00 2001 From: Mark Ferrell Date: Tue, 15 Apr 2014 11:18:39 -0700 Subject: Cleanup quoting in include/import --- build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build b/build index 50a22ff..5ff7031 100755 --- a/build +++ b/build @@ -77,10 +77,10 @@ import() { set -- "${1}" "`echo "${1}" | tr '-' '_'`" test -f "${BUILDER_LIBDIR}/${1}" || die "library does not exist '${1}'" - eval "test -z '\${BUILDER_IMPORT_${2}}'" || return + eval "test -z \"\${BUILDER_IMPORT_${2}}\"" || return BUILDER_CALL_STASH="${BUILDER_CALL_STACK}" BUILDER_CALL_STACK="${BUILDER_CALL_STACK} ${1}" . "${BUILDER_CALL_LIBDIR}/${1}" - eval "BUILDER_IMPORT_${2}='${BUILDER_LIBDIR}/${1}" + eval "BUILDER_IMPORT_${2}='${BUILDER_LIBDIR}/${1}'" if [ -z "${BUILDER_IMPORTED}" ]; then BUILDER_IMPORTED="${1}" else @@ -96,9 +96,9 @@ include() { set -- "${1}" "`echo "${1}" | tr '-' '_'`" test -f "${BUILDER_CFGDIR}/${1}" || die "config not found '${1}'" - eval "test -z '\${BUILDER_INCLUDE_${2}}'" || return + eval "test -z \"\${BUILDER_INCLUDE_${2}}\"" || return . "${BUILDER_CFGDIR}/${1}" - eval "BUILDER_INCLUDE_${2}='${BUILDER_CFGDIR}/${1}" + eval "BUILDER_INCLUDE_${2}='${BUILDER_CFGDIR}/${1}'" if [ -z "${BUILDER_INCLUDED}" ]; then BUILDER_INCLUDED="${1}" else -- cgit v1.2.3-18-g5258