Skip to content

Commit 3935a2a

Browse files
committed
mochidocker: use same MOCHI_CHECKOUT_ROOT as in help for consistency
1 parent fdfff87 commit 3935a2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/mochidocker

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cd "`dirname "$0"`"
77
THIS_DIR="`pwd`"
88
THIS_FILE="`basename "$0"`"
99
cd ..
10-
REPO_ROOT_DIR="`pwd`"
10+
MOCHI_CHECKOUT_ROOT="`pwd`"
1111
cd "$CURRENT_DIR"
1212

1313
DEFAULT_IMAGE="tlvu/mochi"
@@ -61,8 +61,8 @@ while [ 1 ]; do
6161
;;
6262
--dockerdevel) shift
6363
DEV_OPT="-v"
64-
# REPO_ROOT_DIR better have no space
65-
DEV_ARG="$REPO_ROOT_DIR/mochi:/home/mochiuser/.pyenv/versions/venv343mochi/lib/python3.4/site-packages/mochi"
64+
# MOCHI_CHECKOUT_ROOT better have no space
65+
DEV_ARG="$MOCHI_CHECKOUT_ROOT/mochi:/home/mochiuser/.pyenv/versions/venv343mochi/lib/python3.4/site-packages/mochi"
6666
;;
6767
--dockerhelp) shift
6868
showusage

0 commit comments

Comments
 (0)