get_ical_data.sh is now run at compile time
[citadel.git] / webcit / scripts / get_ical_data.sh
index 96426673e07dae886552468a370d6e5a640a2d7e..0bce6d866ec0ec85eee769fd0167052c8497c808 100755 (executable)
@@ -1,9 +1,18 @@
 #!/bin/sh
+
+echo Running $0
+
+
 ICAL=/usr/local/ctdlsupport/include/libical/ical.h
 if test -f /usr/include/libical/ical.h; then 
     ICAL=/usr/include/libical/ical.h
 fi
 
+if test ! -f ${ICAL}; then 
+    echo "failed to locate libical headers - please install the libical development packages or heardes"
+    exit 500
+fi
+
 ICALTYPES="icalproperty_kind"\
 " icalcomponent_kind"\
 " icalrequeststatus"\