Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
doutriaux1 committed Sep 27, 2016
2 parents 632913e + d29db52 commit fd09b36
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .bash_local
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ setpy() {
fi
}

iP() {
iPuvcdat() {
if [ $# == 0 ]; then
PKG=vcs
else
Expand All @@ -189,6 +189,27 @@ iP() {
cd ${where}
}

iP() {
if [ $# == 0 ]; then
PKG=vcs
else
PKG=$1
fi
if [ $# == 2 ]; then
CMD=spb
else
CMD='python setup.py install'
fi
if [ $PKG == "vcs" ]; then
CMD=$CMD" --old-and-unmanageable"
fi
where=$(pwd)
cd $(dirname $(dirname $(readlink ${HOME}/.bash_local)))
cd ${PKG}
${CMD}
cd ${where}
}

spb() {
good_python=`which python`
sudo ${good_python} setup.py install
Expand Down

0 comments on commit fd09b36

Please sign in to comment.