Added lame warning message to makefile when the storage-bootstrap target is called
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 27 Jan 2006 16:19:44 +0000 (16:19 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 27 Jan 2006 16:19:44 +0000 (16:19 +0000)
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

index 7064c5c..bf8ea41 100644 (file)
@@ -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)
 
 # -----------------------------------------------------------------------------------