mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Easier to specify another builbot dir (staging prod)
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
parent
2c42c45a7e
commit
5dbf453634
1 changed files with 7 additions and 1 deletions
|
|
@ -4,7 +4,13 @@ alias cdp='cd ~/projects/'
|
||||||
|
|
||||||
function bb_env()
|
function bb_env()
|
||||||
{
|
{
|
||||||
|
BBDIR=$1
|
||||||
|
shift
|
||||||
|
if [[ -z $BBDIR ]]; then
|
||||||
BASE=$HOME/projects/buildbot/
|
BASE=$HOME/projects/buildbot/
|
||||||
|
else
|
||||||
|
BASE=$BBDIR
|
||||||
|
fi
|
||||||
export __PATHBKP=$PATH
|
export __PATHBKP=$PATH
|
||||||
export PYTHONPATH=$BASE/buildbot/master:$BASE/txwebservices/install:$BASE/cactus/install:$BASE/config/tools
|
export PYTHONPATH=$BASE/buildbot/master:$BASE/txwebservices/install:$BASE/cactus/install:$BASE/config/tools
|
||||||
export PATH=$HOME/bin:$BASE/buildbot/master/bin:$BASE/txwebservices/install:$PATH
|
export PATH=$HOME/bin:$BASE/buildbot/master/bin:$BASE/txwebservices/install:$PATH
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue