summaryrefslogtreecommitdiffstats
path: root/bin/phase-helpers.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-09-02 15:56:46 -0700
committerZac Medico <zmedico@gentoo.org>2012-09-02 15:56:46 -0700
commitd184c0f32eba2eec3a8d28ae71be79aa635db147 (patch)
treee351595adec837826161570d8a4723d3eaa52af9 /bin/phase-helpers.sh
parent952d5c235ed1b440cd156654014fd51f55b638cb (diff)
downloadportage-d184c0f32eba2eec3a8d28ae71be79aa635db147.tar.gz
portage-d184c0f32eba2eec3a8d28ae71be79aa635db147.tar.bz2
portage-d184c0f32eba2eec3a8d28ae71be79aa635db147.zip
Quote ${EAPI} more.
This will avoid a potential syntax error in save-ebuild-env.sh if a saved environment containing corrupt EAPI is sourced.
Diffstat (limited to 'bin/phase-helpers.sh')
-rw-r--r--bin/phase-helpers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
index 46f713211..0587991f9 100644
--- a/bin/phase-helpers.sh
+++ b/bin/phase-helpers.sh
@@ -174,7 +174,7 @@ usev() {
return 1
}
-case ${EAPI} in
+case "${EAPI}" in
0|1|2|3|4|4-python|4-slot-abi) ;;
*)
usex() {