aboutsummaryrefslogtreecommitdiff
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/save-ebuild-env.sh
parentDateSet: only allow one format option in config (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/save-ebuild-env.sh')
-rw-r--r--bin/save-ebuild-env.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/save-ebuild-env.sh b/bin/save-ebuild-env.sh
index 75e48437a..6d6ed41b6 100644
--- a/bin/save-ebuild-env.sh
+++ b/bin/save-ebuild-env.sh
@@ -73,7 +73,7 @@ save_ebuild_env() {
_hasg _hasgq _unpack_tar \
${QA_INTERCEPTORS}
- case ${EAPI} in
+ case "${EAPI}" in
0|1|2|3|4|4-python|4-slot-abi) ;;
*) unset -f usex ;;
esac