Mohammed Morsi
2008-Nov-10 23:15 UTC
[Ovirt-devel] [PATCH appliance] removed extraneous / incorrect setting of rails env
--- autobuild.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/autobuild.sh b/autobuild.sh index 07ea1db..61ea6c6 100755 --- a/autobuild.sh +++ b/autobuild.sh @@ -108,4 +108,4 @@ for i in $(seq 1 10); do sleep 10 done -$ssh_cmd "cd /usr/share/ovirt-server && export RAILS_ENV=test && rake test" +$ssh_cmd "cd /usr/share/ovirt-server && rake test" -- 1.5.6.5
Mohammed Morsi
2008-Nov-10 23:15 UTC
[Ovirt-devel] [PATCH server] put autobuild generated server into dev mode
--- 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