summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-03 03:27:23 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-03 03:27:23 +0000
commit7e48dc692864333b29d81f601c29909a53cdb6db (patch)
tree9ab76b289c3e1ae0c994dde255f28f9494457631
parent3c26cffbce62cf548531bbd048f5dc5c631fbb71 (diff)
downloadportage-7e48dc692864333b29d81f601c29909a53cdb6db.tar.gz
portage-7e48dc692864333b29d81f601c29909a53cdb6db.tar.bz2
portage-7e48dc692864333b29d81f601c29909a53cdb6db.zip
fix broken quoting
svn path=/main/trunk/; revision=2519
-rw-r--r--bin/isolated-functions.sh26
1 files changed, 13 insertions, 13 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index 07e7ad67e..1eacb6980 100644
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -16,13 +16,13 @@ elog_base() {
return 1
;;
esac
- echo ${*} >> ${T}/logging/${EBUILD_PHASE}.${messagetype}
+ echo "$*" >> ${T}/logging/${EBUILD_PHASE}.${messagetype}
return 0
}
elog() {
- elog_base LOG ${*}
- echo -e " ${GOOD}*${NORMAL} ${*}"
+ elog_base LOG "$*"
+ echo -e " ${GOOD}*${NORMAL} $*"
return 0
}
@@ -45,34 +45,34 @@ esyslog() {
}
einfo() {
- einfon ${*}
+ einfon "$*"
echo
return 0
}
einfon() {
- elog_base INFO ${*}
- echo -ne " ${GOOD}*${NORMAL} ${*}"
+ elog_base INFO "$*"
+ echo -ne " ${GOOD}*${NORMAL} $*"
return 0
}
ewarn() {
- elog_base WARN ${*}
- echo -e " ${WARN}*${NORMAL} ${*}"
+ elog_base WARN "$*"
+ echo -e " ${WARN}*${NORMAL} $*"
return 0
}
eerror() {
- elog_base ERROR ${*}
- echo -e " ${BAD}*${NORMAL} ${*}"
+ elog_base ERROR "$*"
+ echo -e " ${BAD}*${NORMAL} $*"
return 0
}
ebegin() {
if [ -z "${NOCOLOR}" ]; then
- echo -ne " ${GOOD}*${NORMAL} ${*}..."
+ echo -ne " ${GOOD}*${NORMAL} $* ..."
else
- echo -e " ${GOOD}*${NORMAL} ${*}..."
+ echo -e " ${GOOD}*${NORMAL} $* ..."
fi
return 0
}
@@ -87,7 +87,7 @@ eend() {
if [ "$#" -ge 2 ]
then
shift
- eerror "${*}"
+ eerror "$*"
fi
echo -e "${ENDCOL} ${BRACKET}[ ${BAD}!!${BRACKET} ]${NORMAL}"
# extra spacing makes it easier to read