Commit 845eac4b by dlezcano

Create the localstatedir when installing the commands

From: Daniel Lezcano <dlezcano@fr.ibm.com> For some distros (eg. opensuse), when installing with "make install", the localstatedir is not created. This modification makes this directory to be created at the install time. Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent eec659c0
......@@ -120,6 +120,7 @@ lxc_version_LDADD = liblxc.la
install-exec-local:
-@export PATH=$$PATH:/sbin:/usr/sbin && \
mkdir -p $(localstatedir) && \
setcap cap_setpcap,cap_net_admin,cap_net_raw,cap_sys_admin,cap_dac_override=ep \
$(bindir)/lxc-execute && \
setcap cap_setpcap,cap_net_admin,cap_net_raw,cap_sys_admin,cap_dac_override=ep \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment