incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [01/11] git commit: [#3854] Fix mongo version check and venv path
Date Fri, 10 May 2013 21:00:56 GMT
Updated Branches:
  refs/heads/master 2251ba045 -> 16ea2661b


[#3854] Fix mongo version check and venv path

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/01771658
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/01771658
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/01771658

Branch: refs/heads/master
Commit: 017716583a3452500da28b711952cfea2bc52f13
Parents: 48604f1
Author: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Authored: Tue Apr 30 00:29:11 2013 -0400
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Fri May 10 20:34:00 2013 +0000

----------------------------------------------------------------------
 vagrant/allura_setup.sh |    2 +-
 vagrant/start_allura    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/01771658/vagrant/allura_setup.sh
----------------------------------------------------------------------
diff --git a/vagrant/allura_setup.sh b/vagrant/allura_setup.sh
index e382fac..4da7f8d 100755
--- a/vagrant/allura_setup.sh
+++ b/vagrant/allura_setup.sh
@@ -21,7 +21,7 @@
 MONGODB_VERSION=2.2.3
 MONGODB_PKG_URL="deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen"
 MONGODB_SRC_LST=/etc/apt/sources.list.d/10gen.list
-if [ $(mongo --version 2>/dev/null | sed 's/.*: //') != $MONGODB_VERSION ]
+if [ "$(mongo --version 2>/dev/null | sed 's/.*: //')" != "$MONGODB_VERSION" ]
 then
   echo "Installing Mongodb $MONGODB_VERSION..."
   sudo apt-get -y -q purge mongodb mongodb-clients mongodb-server mongodb-dev

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/01771658/vagrant/start_allura
----------------------------------------------------------------------
diff --git a/vagrant/start_allura b/vagrant/start_allura
index 758a4bd..c396f7a 100755
--- a/vagrant/start_allura
+++ b/vagrant/start_allura
@@ -20,7 +20,7 @@
 # Starts Allura platform services
 
 # Activate Allura virtualenv
-. /home/vagrant/anvil/bin/activate
+. /home/vagrant/env-allura/bin/activate
 
 # Create log dir
 if [ ! -d /var/log/allura ]


Mime
View raw message