app-misc/elasticsearch: fix x-pack path
authorTomas Mozes <hydrapolic@gmail.com>
Thu, 13 Sep 2018 15:11:26 +0000 (17:11 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 13 Sep 2018 15:34:20 +0000 (17:34 +0200)
Closes: https://github.com/gentoo/gentoo/pull/9823
Closes: https://bugs.gentoo.org/665654
Package-Manager: Portage-2.3.49, Repoman-2.3.10

app-misc/elasticsearch/elasticsearch-6.4.0.ebuild

index e022c71854fc410d8463af7dbe45dea8cd7fee2a..2a715bac374af2933022b114341efb6fb03c1ab9 100644 (file)
@@ -16,7 +16,7 @@ IUSE="x-pack"
 
 RDEPEND="virtual/jre:1.8"
 
-QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
+QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
 
 pkg_setup() {
        enewgroup ${PN}
@@ -31,7 +31,7 @@ src_prepare() {
 
        if use x-pack; then
                rm bin/x-pack/*.bat || die
-               rm -r modules/x-pack/x-pack-ml/platform/{darwin,windows}-x86_64 || die
+               rm -r modules/x-pack-ml/platform/{darwin,windows}-x86_64 || die
        fi
 }
 
@@ -55,7 +55,7 @@ src_install() {
        chmod +x "${ED}"/usr/share/${PN}/bin/* || die
 
        if use x-pack; then
-               chmod +x "${ED}"/usr/share/${PN}/modules/x-pack/x-pack-ml/platform/linux-x86_64/bin/* || die
+               chmod +x "${ED}"/usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin/* || die
        fi
 
        keepdir /var/{lib,log}/${PN}