Permalink
Browse files

wrappers for rebasing

  • Loading branch information...
1 parent a6df8f8 commit 53a7d7d41eaf057145945ba976189663d236717f BuzzTroll committed Nov 4, 2010
Showing with 21 additions and 0 deletions.
  1. +1 −0 cumulus/authz/setup.py
  2. +20 −0 home/bin/cumulus-rebase
View
@@ -29,6 +29,7 @@
'nimbusauthz-stat = pynimbusauthz.stat:main',
'nimbusauthz-ls = pynimbusauthz.ls:main',
'nimbusauthz-chmod = pynimbusauthz.chmod:main',
+ 'nimbusauthz-rebase = pynimbusauthz.rebase:main',
]
},
include_package_data = True,
View
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+PYTHON_EXE="/usr/bin/env python -Wignore::DeprecationWarning"
+
+NIMBUS_HOME_REL="`dirname $0`/.."
+NIMBUS_HOME=`cd $NIMBUS_HOME_REL; pwd`
+export NIMBUS_HOME
+NIMBUS_WEBDIR="$NIMBUS_HOME/web"
+
+NIMBUS_PYLIB="$NIMBUS_WEBDIR/lib/python"
+NIMBUS_PYSRC="$NIMBUS_WEBDIR/src/python"
+
+PYTHONPATH="$NIMBUS_PYSRC:$NIMBUS_PYLIB:$PYTHONPATH"
+export PYTHONPATH
+
+source $NIMBUS_HOME/cumulus/env.sh
+export CUMULUS_SETTINGS_FILE=$NIMBUS_HOME/cumulus/etc/cumulus.ini
+source $NIMBUS_HOME/ve/bin/activate
+nimbusauthz-rebase "${@}"
+exit $?

0 comments on commit 53a7d7d

Please sign in to comment.