From 05a2cb2e0a55e3ddb317e72d531814a31b871918 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 27 Jan 2006 16:19:44 +0000 Subject: [PATCH] Added lame warning message to makefile when the storage-bootstrap target is called so DB's are not so easily wiped git-svn-id: svn://svn.open-ils.org/ILS/trunk@2857 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Open-ILS/src/Makefile b/Open-ILS/src/Makefile index 7064c5c423..bf8ea41223 100644 --- a/Open-ILS/src/Makefile +++ b/Open-ILS/src/Makefile @@ -120,6 +120,14 @@ cgi-bootstrap: cp cgi-bin/setup.pl $(ETCDIR)/live-db-setup.pl storage-bootstrap: + @echo $@ + @echo "" + @echo "WARNING!" + @echo "" + @echo "storage-bootstrap will DESTROY all data within all of the ILS tables in your database." + @echo "Type control-c to avoid destroying all of the data. Type enter to continue..." + @echo "" + @read X; ./extras/import/build-oils-db.sh $(DBDRVR) $(DBHOST) $(DBNAME) $(DBUSER) $(DBPW) # ----------------------------------------------------------------------------------- -- 2.43.2