diff options
author | David Seifert <soap@gentoo.org> | 2020-02-08 17:52:44 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-02-08 17:52:44 +0100 |
commit | 98aff74aa27315cca2328e6eb40f8f4f568e8e25 (patch) | |
tree | 7ba9813b4cf9ad699e3e659d11dc0673b834e01c /www-apps/otrs/otrs-6.0.4.ebuild | |
parent | sys-fs/mtools: [QA] Fix UnnecessarySlashStrip (diff) | |
download | gentoo-98aff74aa27315cca2328e6eb40f8f4f568e8e25.tar.gz gentoo-98aff74aa27315cca2328e6eb40f8f4f568e8e25.tar.bz2 gentoo-98aff74aa27315cca2328e6eb40f8f4f568e8e25.zip |
www-apps/otrs: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'www-apps/otrs/otrs-6.0.4.ebuild')
-rw-r--r-- | www-apps/otrs/otrs-6.0.4.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/www-apps/otrs/otrs-6.0.4.ebuild b/www-apps/otrs/otrs-6.0.4.ebuild index 3158404230ca..8a49432f6abf 100644 --- a/www-apps/otrs/otrs-6.0.4.ebuild +++ b/www-apps/otrs/otrs-6.0.4.ebuild @@ -92,18 +92,18 @@ src_prepare() { fi mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die - sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \ + sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \ || die "sed failed" - sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \ + sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \ || die "sed failed" grep -lR "/opt" "${S}"/scripts | \ - xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \ + xargs sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" \ || die "sed failed" - echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \ - ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die + echo "CONFIG_PROTECT=\"${EPREFIX}${OTRS_HOME}/Kernel/Config.pm \ + ${EPREFIX}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die eapply_user } |