summaryrefslogtreecommitdiff
path: root/eclass/systemd-unit.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/systemd-unit.eclass')
-rw-r--r--eclass/systemd-unit.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/systemd-unit.eclass b/eclass/systemd-unit.eclass
index d3e1e60..9436c15 100644
--- a/eclass/systemd-unit.eclass
+++ b/eclass/systemd-unit.eclass
@@ -21,11 +21,11 @@ IUSE=""
src_unpack()
{
mkdir ${S}
- cp ${DISTDIR}/${A} ${S}
+ cp ${DISTDIR}/${A} ${S}/${TARGETNAME:=${A}}
}
src_install()
{
- systemd_dounit ${S}/${A}
+ systemd_dounit ${S}/${TARGETNAME:=${A}}
}