From 87b7f8a83047a89c52ef0dc0b86e369970e17851 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 26 Dec 2005 06:56:52 +0000 Subject: quote a bit more svn path=/main/trunk/; revision=2476 --- bin/ebuild.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/ebuild.sh b/bin/ebuild.sh index f4f1fe02d..b53e84f49 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -709,7 +709,7 @@ dyn_clean() { } into() { - if [ $1 == "/" ]; then + if [ "$1" == "/" ]; then export DESTTREE="" else export DESTTREE=$1 @@ -886,7 +886,7 @@ dyn_compile() { fi cp "${EBUILD}" "build-info/${PF}.ebuild" - if [ ${PORTAGE_BUILDDIR}/.compiled -nt "${WORKDIR}" ]; then + if [ "${PORTAGE_BUILDDIR}/.compiled" -nt "${WORKDIR}" ]; then echo ">>> It appears that ${PN} is already compiled; skipping." echo ">>> (clean to force compilation)" trap SIGINT SIGQUIT @@ -955,7 +955,7 @@ dyn_package() { dyn_test() { [ "$(type -t pre_src_test)" == "function" ] && pre_src_test - if [ ${PORTAGE_BUILDDIR}/.tested -nt "${WORKDIR}" ]; then + if [ "${PORTAGE_BUILDDIR}/.tested" -nt "${WORKDIR}" ]; then echo ">>> It appears that ${PN} has already been tested; skipping." [ "$(type -t post_src_test)" == "function" ] && post_src_test return @@ -1454,7 +1454,7 @@ debug-print-section() { declare -ix ECLASS_DEPTH=0 inherit() { ECLASS_DEPTH=$(($ECLASS_DEPTH + 1)) - if [[ $ECLASS_DEPTH > 1 ]]; then + if [[ ${ECLASS_DEPTH} > 1 ]]; then debug-print "*** Multiple Inheritence (Level: ${ECLASS_DEPTH})" fi -- cgit v1.2.3-1-g7c22