From 69977e49b6c81d9dc44fe20d90a288b6e3bbb764 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 31 Jul 2012 23:01:52 -0300 Subject: [PATCH] Be able to use an environment other than production --- debian/noosfero-console | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/noosfero-console b/debian/noosfero-console index 4db7bb9..b486bdc 100755 --- a/debian/noosfero-console +++ b/debian/noosfero-console @@ -2,4 +2,7 @@ set -e -cd /usr/share/noosfero && su noosfero -c "./script/console production" +environment="$1" +test -z "$environment" && environment=production + +cd /usr/share/noosfero && su noosfero -c "./script/console $environment" -- libgit2 0.21.2