commit:     b00900f5bf615c2040d714905e766bcd14e98985
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 23 19:58:54 2014 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Sun Nov 23 19:58:54 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=b00900f5

Fix error in eclass from previous commit

---
 eclass/mysql-cmake.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/eclass/mysql-cmake.eclass b/eclass/mysql-cmake.eclass
index 32caf80..59f1b4b 100644
--- a/eclass/mysql-cmake.eclass
+++ b/eclass/mysql-cmake.eclass
@@ -297,7 +297,9 @@ mysql-cmake_src_prepare() {
 
        # Remove the bundled groonga if it exists
        # There is no CMake flag, it simply checks for existance
-       [[ -d "${S}"/storage/mroonga/vendor/groonga ]] && rm -r 
"${S}"/storage/mroonga/vendor/groonga || die
+       if [[ -d "${S}"/storage/mroonga/vendor/groonga ]] ; then
+               rm -r "${S}"/storage/mroonga/vendor/groonga || die "could not 
remove packaged groonga"
+       fi
 
        epatch_user
 }

Reply via email to