--- gx86/eclass/systemd.eclass | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-)
diff --git a/gx86/eclass/systemd.eclass b/gx86/eclass/systemd.eclass index 47e342b..bb1ec7f 100644 --- a/gx86/eclass/systemd.eclass +++ b/gx86/eclass/systemd.eclass @@ -69,10 +69,9 @@ systemd_get_utildir() { systemd_dounit() { debug-print-function ${FUNCNAME} "${@}" - ( - insinto "$(_systemd_get_unitdir)" - doins "${@}" - ) + local INSDESTTREE + insinto "$(_systemd_get_unitdir)" + doins "${@}" } # @FUNCTION: systemd_newunit @@ -83,10 +82,9 @@ systemd_dounit() { systemd_newunit() { debug-print-function ${FUNCNAME} "${@}" - ( - insinto "$(_systemd_get_unitdir)" - newins "${@}" - ) + local INSDESTTREE + insinto "$(_systemd_get_unitdir)" + newins "${@}" } # @FUNCTION: systemd_dotmpfilesd @@ -102,10 +100,9 @@ systemd_dotmpfilesd() { || die 'tmpfiles.d files need to have .conf suffix.' done - ( - insinto /usr/lib/tmpfiles.d/ - doins "${@}" - ) + local INSDESTTREE + insinto /usr/lib/tmpfiles.d/ + doins "${@}" } # @FUNCTION: systemd_newtmpfilesd @@ -119,10 +116,9 @@ systemd_newtmpfilesd() { [[ ${2} == *.conf ]] \ || die 'tmpfiles.d files need to have .conf suffix.' - ( - insinto /usr/lib/tmpfiles.d/ - newins "${@}" - ) + local INSDESTTREE + insinto /usr/lib/tmpfiles.d/ + newins "${@}" } # @FUNCTION: systemd_enable_service -- 1.8.0