[Ovirt-devel] [PATCH server] put autobuild generated server into dev mode
Mohammed Morsi
mmorsi at redhat.com
Mon Nov 10 23:15:55 UTC 2008
---
autobuild.sh | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/autobuild.sh b/autobuild.sh
index 85e3e7a..3f3d74a 100755
--- a/autobuild.sh
+++ b/autobuild.sh
@@ -25,9 +25,8 @@ set -v
test -f Makefile && make -k distclean || :
-# set ovirt to initialize / use test db
-sed -i "s/DATABASE=ovirt/DATABASE=ovirt_test/" scripts/ovirt-server-install
-sed -i "s/rake/export RAILS_ENV=test\\nrake/" scripts/ovirt-server-install
+# put rails in development mode
+echo "RAILS_ENV=development" >> conf/ovirt-rails.sysconf
./autogen.sh --prefix=$AUTOBUILD_INSTALL_ROOT
make dist
--
1.5.6.5
More information about the ovirt-devel
mailing list