mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Allow .force-root-ok to bypass the root check for easier distro packaging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12271 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
4b5dc58bc7
commit
127ecef929
@ -100,7 +100,7 @@ all: $(FOOTER)
|
||||
|
||||
target: $(HEADER)
|
||||
$(MAKEENV) perl make/calcdep.pl
|
||||
@if [ `id -u` = 0 ]; then echo "Don't compile or install as root!"; exit 1; fi
|
||||
@if [ `id -u` = 0 ] && [ ! -e .force-root-ok ]; then echo "Don't compile or install as root!"; exit 1; fi
|
||||
cd $(BUILDPATH); $(MAKEENV) $(MAKE) -f real.mk $(TARGET)
|
||||
|
||||
debug:
|
||||
|
Loading…
x
Reference in New Issue
Block a user