Remove bashism $UID from Makefile

news-update
Michael Spang 15 years ago
parent df06aefb1f
commit ddee695628
  1. 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…
Cancel
Save