Fix ${EBUILD_PHASE} quoting.
authorZac Medico <zmedico@gentoo.org>
Tue, 20 Nov 2007 07:09:55 +0000 (07:09 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 20 Nov 2007 07:09:55 +0000 (07:09 -0000)
svn path=/main/trunk/; revision=8541

bin/ebuild.sh

index af2b656b17973e8fdd8a2320c8b73caa5d8d1539..a7b5d5548d575166a16a87eebc1d98d641752822 100755 (executable)
@@ -1645,7 +1645,7 @@ done
 unset x
 
 # Lock the dbkey variables after the global phase
-[ ${EBUILD_PHASE} != "depend" ] && declare -r ${READONLY_EBUILD_METADATA}
+[ "${EBUILD_PHASE}" != "depend" ] && declare -r ${READONLY_EBUILD_METADATA}
 
 if hasq nostrip ${FEATURES} ${RESTRICT} || hasq strip ${RESTRICT}
 then