Commit 69977e49b6c81d9dc44fe20d90a288b6e3bbb764

Authored by Antonio Terceiro
1 parent 692325d6

Be able to use an environment other than production

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
debian/noosfero-console
... ... @@ -2,4 +2,7 @@
2 2  
3 3 set -e
4 4  
5   -cd /usr/share/noosfero && su noosfero -c "./script/console production"
  5 +environment="$1"
  6 +test -z "$environment" && environment=production
  7 +
  8 +cd /usr/share/noosfero && su noosfero -c "./script/console $environment"
... ...