diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-09-02 15:56:46 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-09-02 15:56:46 -0700 |
commit | d184c0f32eba2eec3a8d28ae71be79aa635db147 (patch) | |
tree | e351595adec837826161570d8a4723d3eaa52af9 /bin/save-ebuild-env.sh | |
parent | 952d5c235ed1b440cd156654014fd51f55b638cb (diff) | |
download | portage-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.sh | 2 |
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 |