From 07d61a375aa8882fe4801b5850449bd849330afa Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Mon, 7 Aug 2017 13:18:56 +0200 Subject: Makefile: Fix additional error in commit b119d37d1 --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 8309f31f..d6dfbf88 100644 --- a/Makefile +++ b/Makefile @@ -62,11 +62,11 @@ install: make install PREFIX=$(ROOT) -C po mkdir -p $(ROOT)/var/log + # do not touch /run if installing into a chroot if -z "$(ROOT)"; then \ - # do not touch /run if installing into a chroot - mkdir -p $(ROOT)/run/netreport; \ - chown $(SUPERUSER):$(SUPERGROUP) $(ROOT)/run/netreport; \ - chmod u=rwx,g=rwx,o=rx $(ROOT)/run/netreport; \ + mkdir -p /run/netreport; \ + chown $(SUPERUSER):$(SUPERGROUP) /run/netreport; \ + chmod u=rwx,g=rwx,o=rx /run/netreport; \ fi for i in 0 1 2 3 4 5 6 ; do \ -- cgit v1.2.1