aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2017-08-07 13:18:56 +0200
committerDee'Kej <deekej@linuxmail.org>2017-08-07 13:24:36 +0200
commit07d61a375aa8882fe4801b5850449bd849330afa (patch)
tree409cd4df134dc23de38ced680f1053b749bbab5d
parent73304ce69feed9ee801c8c93bc6dc42aa2b6c1a3 (diff)
downloadinitscripts-07d61a375aa8882fe4801b5850449bd849330afa.tar
initscripts-07d61a375aa8882fe4801b5850449bd849330afa.tar.gz
initscripts-07d61a375aa8882fe4801b5850449bd849330afa.tar.bz2
initscripts-07d61a375aa8882fe4801b5850449bd849330afa.tar.xz
initscripts-07d61a375aa8882fe4801b5850449bd849330afa.zip
Makefile: Fix additional error in commit b119d37d1
-rw-r--r--Makefile8
1 files 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 \