summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-26 06:56:52 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-26 06:56:52 +0000
commit87b7f8a83047a89c52ef0dc0b86e369970e17851 (patch)
tree39264a5fc3af2c227a51c37bc03d0115fc6b9e2f
parent2e9a0f896139530fbcea99f3987f49fc94dbdea6 (diff)
downloadportage-87b7f8a83047a89c52ef0dc0b86e369970e17851.tar.gz
portage-87b7f8a83047a89c52ef0dc0b86e369970e17851.tar.bz2
portage-87b7f8a83047a89c52ef0dc0b86e369970e17851.zip
quote a bit more
svn path=/main/trunk/; revision=2476
-rwxr-xr-xbin/ebuild.sh8
1 files changed, 4 insertions, 4 deletions
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