systemd.eclass: Introduce a common getter for systemd directories
authorMichał Górny <mgorny@gentoo.org>
Fri, 27 Nov 2015 14:25:08 +0000 (15:25 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 1 Dec 2015 22:07:17 +0000 (23:07 +0100)
commit568bb3ee5558b4d025df691bfeb12065afdef01e
tree9069f11f1fa39c61be549175fedc2dd51807e438
parent42adde8586669fc97cc9026d17bfa79484434822
systemd.eclass: Introduce a common getter for systemd directories

Add a _systemd_get_dir function that serves as a common getter for
all directories returned by the eclass. Add proper error handling for
the variable getter.
eclass/systemd.eclass