dev-java/openjdk: QA: fix dosym usage
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Tue, 28 Jan 2020 08:53:42 +0000 (00:53 -0800)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Tue, 28 Jan 2020 08:55:10 +0000 (00:55 -0800)
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
dev-java/openjdk/openjdk-11.0.5_p10.ebuild
dev-java/openjdk/openjdk-11.0.6.ebuild
dev-java/openjdk/openjdk-8.222_p10.ebuild
dev-java/openjdk/openjdk-8.232_p09.ebuild
dev-java/openjdk/openjdk-8.242.ebuild

index 8be378782e3e8202f6b3d704647b0a08296d3f66..e6429b524269699c33f0d24ddeb3557b82dc6983 100644 (file)
@@ -233,7 +233,7 @@ src_install() {
        dodir "${dest}"
        cp -pPR * "${ddest}" || die
 
-       dosym "${EPREFIX}"/etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
+       dosym ../../../../../etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
 
        # must be done before running itself
        java-vm_set-pax-markings "${ddest}"
@@ -248,7 +248,7 @@ src_install() {
        if use doc ; then
                docinto html
                dodoc -r "${S}"/build/*-release/images/docs/*
-               dosym "${EPREFIX}"/usr/share/doc/"${PF}" /usr/share/doc/"${PN}-${SLOT}"
+               dosym ../../../usr/share/doc/"${PF}" /usr/share/doc/"${PN}-${SLOT}"
        fi
 }
 
index dc940a8919c6058e3544235b23867f94d47d1feb..c5cf008ef3e22c5d6bdff635e9218d31b1a321a3 100644 (file)
@@ -233,7 +233,7 @@ src_install() {
        dodir "${dest}"
        cp -pPR * "${ddest}" || die
 
-       dosym "${EPREFIX}"/etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
+       dosym ../../../../../etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
 
        # must be done before running itself
        java-vm_set-pax-markings "${ddest}"
@@ -248,7 +248,7 @@ src_install() {
        if use doc ; then
                docinto html
                dodoc -r "${S}"/build/*-release/images/docs/*
-               dosym "${EPREFIX}"/usr/share/doc/"${PF}" /usr/share/doc/"${PN}-${SLOT}"
+               dosym ../../../usr/share/doc/"${PF}" /usr/share/doc/"${PN}-${SLOT}"
        fi
 }
 
index 7f674fb94cc4027d15279771ac37ef0e8b4f0bdd..1374a9be223f6d2920f6072aafe02c4c643ce644 100644 (file)
@@ -226,7 +226,7 @@ src_install() {
        dodir "${dest}"
        cp -pPR * "${ddest}" || die
 
-       dosym "${EPREFIX}"/etc/ssl/certs/java/cacerts "${dest}"/jre/lib/security/cacerts
+       dosym ../../../../../../etc/ssl/certs/java/cacerts "${dest}"/jre/lib/security/cacerts
 
        use gentoo-vm && java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
        java-vm_set-pax-markings "${ddest}"
index 4fa1e0c103a079f0efddd9134102abe42071c594..b3cd4c5a8eac9d5470023f71cf832cccc9290eb4 100644 (file)
@@ -226,7 +226,7 @@ src_install() {
        dodir "${dest}"
        cp -pPR * "${ddest}" || die
 
-       dosym "${EPREFIX}"/etc/ssl/certs/java/cacerts "${dest}"/jre/lib/security/cacerts
+       dosym ../../../../../../etc/ssl/certs/java/cacerts "${dest}"/jre/lib/security/cacerts
 
        use gentoo-vm && java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
        java-vm_set-pax-markings "${ddest}"
index 803f0b77b68d429d1d91e8dbe828f2ae721320d9..b1a5c2322839cc64cb714d594ccecf6de2f4d3e2 100644 (file)
@@ -200,7 +200,7 @@ src_install() {
        dodir "${dest}"
        cp -pPR * "${ddest}" || die
 
-       dosym "${EPREFIX}"/etc/ssl/certs/java/cacerts "${dest}"/jre/lib/security/cacerts
+       dosym ../../../../../../etc/ssl/certs/java/cacerts "${dest}"/jre/lib/security/cacerts
 
        java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
        java-vm_set-pax-markings "${ddest}"