Merge "introduce $SYSTEMD_SYSTEM_UNIT_DIR"

This commit is contained in:
Jenkins 2014-06-27 08:38:37 +00:00 committed by Gerrit Code Review
commit f866a6f240

View file

@ -0,0 +1,8 @@
SYSTEMD_PC_FILE="/usr/share/pkgconfig/systemd.pc"
SYSTEMD_SYSTEM_UNIT_DIR="/lib"
if [ -f $SYSTEMD_PC_FILE ]; then
SYSTEMD_SYSTEM_UNIT_DIR=$(awk \
'/systemdsystemunitdir=/ {split($0,a,"=");print a[2]}' \
$SYSTEMD_PC_FILE)
fi
export SYSTEMD_SYSTEM_UNIT_DIR