aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinis Danne <rei4dan@gmail.com>2014-01-20 19:20:47 +0200
committerReinis Danne <rei4dan@gmail.com>2014-01-21 21:59:19 +0200
commitdf4c5d00586e4084d5dde40bd94d6c9f8960b913 (patch)
treebb6fb9b7f4772304c623792584925d7f3a275422 /eclass/alternatives-2.eclass
parentalternatives-2.eclass: Minor comment changes (diff)
downloadsci-df4c5d00586e4084d5dde40bd94d6c9f8960b913.tar.gz
sci-df4c5d00586e4084d5dde40bd94d6c9f8960b913.tar.bz2
sci-df4c5d00586e4084d5dde40bd94d6c9f8960b913.zip
alternatives-2.eclass: Use consistent quoting
Diffstat (limited to 'eclass/alternatives-2.eclass')
-rw-r--r--eclass/alternatives-2.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/alternatives-2.eclass b/eclass/alternatives-2.eclass
index 132620ef9..4bf696e91 100644
--- a/eclass/alternatives-2.eclass
+++ b/eclass/alternatives-2.eclass
@@ -145,7 +145,7 @@ cleanup_old_alternatives_module() {
if [[ -f "${old_module}" && "$(source "${old_module}" &>/dev/null; echo "${ALTERNATIVE}")" == "${alt}" ]]; then
local version="$(source "${old_module}" &>/dev/null; echo "${VERSION}")"
if [[ "${version}" == "0.1" || "${version}" == "20080924" ]]; then
- echo rm "${old_module}"
+ echo "rm ${old_module}"
rm "${old_module}" || eerror "rm ${old_module} failed"
fi
fi
@@ -212,10 +212,10 @@ alternatives-2_pkg_prerm() {
2)
einfo "Cleaning up unused alternatives module for ${alt}"
rm "${EAUTO}/${alt}.eselect" || \
- eerror rm "${EAUTO}/${alt}.eselect" failed
+ eerror "rm ${EAUTO}/${alt}.eselect failed"
;;
*)
- eerror eselect "${alt}" update "${provider}" returned $?
+ eerror "eselect ${alt} update ${provider} returned $?"
;;
esac
done