From be1aeaab7310ad1bd9b4401717135eabbc919490 Mon Sep 17 00:00:00 2001 From: David Bartley Date: Tue, 25 Sep 2007 21:44:19 -0400 Subject: [PATCH] Cause make to die if ceoquery isn't present --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index d75dbac..6987751 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ noroot: if test $$UID = 0; then echo "don't build as root!"; exit 1; fi members.xml: + test -e /usr/bin/ceoquery || (echo 'Erorr: ceoquery not found'; exit 1) echo '' > $@ echo '' >> $@ ceoquery memberlist | sort | awk -F \| '{ name = $$1; program = $$2; userid = $$3; gsub(/&/, "\\&", name); gsub(/&/, "\\&", program); gsub(/"/, "\\"", name); gsub(/"/, "\\"", program); print ""; }' >> $@