Remove bashism $UID from Makefile
This commit is contained in:
parent
df06aefb1f
commit
ddee695628
2
Makefile
2
Makefile
|
@ -17,6 +17,6 @@ build: noroot mkoutdir common.mk $(OUTPUTS) force
|
|||
find ! -regex '.*/\..*' -type d ! -group www -print0 | xargs -r0 chgrp www || true
|
||||
|
||||
noroot:
|
||||
if test $$UID = 0; then echo "don't build as root!"; exit 1; fi
|
||||
if test $$(id -u) = 0; then echo "don't build as root!"; exit 1; fi
|
||||
|
||||
$(OUTDIR)index.html: events.xml news.xml
|
||||
|
|
Loading…
Reference in New Issue