summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-10-20 23:26:04 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-10-20 23:27:09 +0300
commit8e2dcab16c0c3b8432ff6605c218c11dd8a64e61 (patch)
tree076e7343ed21f9c85d4899976b325b1ac6f158e0 /sys-cluster
parentnet-vpn/strongswan: bump to v5.8.1 (diff)
downloadgentoo-8e2dcab16c0c3b8432ff6605c218c11dd8a64e61.tar.gz
gentoo-8e2dcab16c0c3b8432ff6605c218c11dd8a64e61.tar.bz2
gentoo-8e2dcab16c0c3b8432ff6605c218c11dd8a64e61.zip
sys-cluster/slurm: Add slashes
Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/slurm/slurm-19.05.3.2.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys-cluster/slurm/slurm-19.05.3.2.ebuild b/sys-cluster/slurm/slurm-19.05.3.2.ebuild
index 58a1775accb1..9487d67f72c9 100644
--- a/sys-cluster/slurm/slurm-19.05.3.2.ebuild
+++ b/sys-cluster/slurm/slurm-19.05.3.2.ebuild
@@ -177,7 +177,7 @@ src_install() {
fi
if use torque; then
emake DESTDIR="${D}" -C contribs/torque
- rm -f "${ED}/usr/bin/mpiexec" || die
+ rm -f "${D}"/usr/bin/mpiexec || die
fi
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
# install sample configs
@@ -221,7 +221,7 @@ src_install() {
pkg_preinst() {
if use munge; then
- sed -i 's,\(SLURM_USE_MUNGE=\).*,\11,' "${ED}"etc/conf.d/slurm || die
+ sed -i 's,\(SLURM_USE_MUNGE=\).*,\11,' "${D}"/etc/conf.d/slurm || die
fi
}
@@ -233,11 +233,11 @@ create_folders_and_fix_permissions() {
pkg_postinst() {
paths=(
- "${EROOT}"var/${PN}/checkpoint
- "${EROOT}"var/${PN}
- "${EROOT}"var/spool/${PN}/slurmd
- "${EROOT}"var/spool/${PN}
- "${EROOT}"var/log/${PN}
+ "${EROOT}"/var/${PN}/checkpoint
+ "${EROOT}"/var/${PN}
+ "${EROOT}"/var/spool/${PN}/slurmd
+ "${EROOT}"/var/spool/${PN}
+ "${EROOT}"/var/log/${PN}
/var/tmp/${PN}/${PN}d
/var/tmp/${PN}
/run/${PN}