Remove bashism $UID from Makefile

This commit is contained in:
Michael Spang 2007-12-16 18:24:34 -05:00
parent df06aefb1f
commit ddee695628
1 changed files with 1 additions and 1 deletions

View File

@ -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