summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-08 17:23:11 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-08 17:23:11 +0100
commit05bf4de776274d643de0cd91d538d7feb5cfc0ff (patch)
treefba04fb1852d508caeafa4af0325be5cdf93e759 /net-misc/ntp
parentnet-misc/iputils: [QA] Fix UnnecessarySlashStrip (diff)
downloadgentoo-05bf4de776274d643de0cd91d538d7feb5cfc0ff.tar.gz
gentoo-05bf4de776274d643de0cd91d538d7feb5cfc0ff.tar.bz2
gentoo-05bf4de776274d643de0cd91d538d7feb5cfc0ff.zip
net-misc/ntp: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-misc/ntp')
-rw-r--r--net-misc/ntp/ntp-4.2.8_p13-r2.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-misc/ntp/ntp-4.2.8_p13-r2.ebuild b/net-misc/ntp/ntp-4.2.8_p13-r2.ebuild
index 7683b71bf4fd..508eb7ff7b9f 100644
--- a/net-misc/ntp/ntp-4.2.8_p13-r2.ebuild
+++ b/net-misc/ntp/ntp-4.2.8_p13-r2.ebuild
@@ -124,7 +124,7 @@ src_install() {
systemd_newunit "${FILESDIR}"/ntpd.service-r2 ntpd.service
if use caps ; then
sed -i '/ExecStart/ s|$| -u ntp:ntp|' \
- "${D%/}$(systemd_get_systemunitdir)"/ntpd.service \
+ "${D}$(systemd_get_systemunitdir)"/ntpd.service \
|| die
fi
systemd_enable_ntpunit 60-ntpd ntpd.service