Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
Make user management scripts respect virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Vliet authored and BuzzTroll committed Jul 9, 2010
1 parent 694b293 commit 0a3a164
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions home/bin/nimbus-edit-user
Expand Up @@ -14,5 +14,6 @@ PYTHONPATH="$NIMBUS_PYSRC:$NIMBUS_PYLIB:$PYTHONPATH"
export PYTHONPATH

source $NIMBUS_HOME/cumulus/env.sh
source $NIMBUS_HOME/ve/bin/activate
$PYTHON_EXE $NIMBUS_HOME/libexec/nimbus_edit_user.py "$@"
exit $?
1 change: 1 addition & 0 deletions home/bin/nimbus-list-users
Expand Up @@ -14,5 +14,6 @@ PYTHONPATH="$NIMBUS_PYSRC:$NIMBUS_PYLIB:$PYTHONPATH"
export PYTHONPATH

source $NIMBUS_HOME/cumulus/env.sh
source $NIMBUS_HOME/ve/bin/activate
$PYTHON_EXE $NIMBUS_HOME/libexec//nimbus_list_users.py "$@"
exit $?
1 change: 1 addition & 0 deletions home/bin/nimbus-new-user
Expand Up @@ -17,6 +17,7 @@ DJANGO_SETTINGS_MODULE="nimbusweb.portal.settings"
export DJANGO_SETTINGS_MODULE

source $NIMBUS_HOME/cumulus/env.sh
source $NIMBUS_HOME/ve/bin/activate
cd $NIMBUS_HOME
$PYTHON_EXE $NIMBUS_HOME/libexec/nimbus_new_user.py "$@"
exit $?
1 change: 1 addition & 0 deletions home/bin/nimbus-remove-user
Expand Up @@ -14,5 +14,6 @@ PYTHONPATH="$NIMBUS_PYSRC:$NIMBUS_PYLIB:$PYTHONPATH"
export PYTHONPATH

source $NIMBUS_HOME/cumulus/env.sh
source $NIMBUS_HOME/ve/bin/activate
$PYTHON_EXE $NIMBUS_HOME/libexec//nimbus_remove_user.py "$@"
exit $?

0 comments on commit 0a3a164

Please sign in to comment.