Skip to content

Commit

Permalink
mochidocker: use same MOCHI_CHECKOUT_ROOT as in help for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
tlvu committed May 10, 2015
1 parent fdfff87 commit 3935a2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/mochidocker
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd "`dirname "$0"`"
THIS_DIR="`pwd`"
THIS_FILE="`basename "$0"`"
cd ..
REPO_ROOT_DIR="`pwd`"
MOCHI_CHECKOUT_ROOT="`pwd`"
cd "$CURRENT_DIR"

DEFAULT_IMAGE="tlvu/mochi"
Expand Down Expand Up @@ -61,8 +61,8 @@ while [ 1 ]; do
;;
--dockerdevel) shift
DEV_OPT="-v"
# REPO_ROOT_DIR better have no space
DEV_ARG="$REPO_ROOT_DIR/mochi:/home/mochiuser/.pyenv/versions/venv343mochi/lib/python3.4/site-packages/mochi"
# MOCHI_CHECKOUT_ROOT better have no space
DEV_ARG="$MOCHI_CHECKOUT_ROOT/mochi:/home/mochiuser/.pyenv/versions/venv343mochi/lib/python3.4/site-packages/mochi"
;;
--dockerhelp) shift
showusage
Expand Down

0 comments on commit 3935a2a

Please sign in to comment.