summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-27 15:27:55 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-01 23:07:17 +0100
commit2073611d95d4975e502e9603ea30698baee356db (patch)
treeead4f35880bcb22efdcf42a86713f742aeb611d9 /eclass/systemd.eclass
parentsystemd.eclass: systemd_get_unitdir -> *systemunitdir for consistency (diff)
downloadgentoo-2073611d95d4975e502e9603ea30698baee356db.tar.gz
gentoo-2073611d95d4975e502e9603ea30698baee356db.tar.bz2
gentoo-2073611d95d4975e502e9603ea30698baee356db.zip
systemd.eclass: Update the example for best practices
Diffstat (limited to 'eclass/systemd.eclass')
-rw-r--r--eclass/systemd.eclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
index 7dd914a358a9..72771dfe0f42 100644
--- a/eclass/systemd.eclass
+++ b/eclass/systemd.eclass
@@ -15,13 +15,12 @@
# inherit systemd
#
# src_configure() {
-# local myeconfargs=(
+# local myconf=(
# --enable-foo
-# --disable-bar
-# "$(systemd_with_unitdir)"
+# --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
# )
#
-# econf "${myeconfargs[@]}"
+# econf "${myconf[@]}"
# }
# @CODE