summaryrefslogtreecommitdiff
path: root/test/test-lib.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-lib.bash')
-rw-r--r--test/test-lib.bash6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test-lib.bash b/test/test-lib.bash
index affb5c9..008c2f8 100644
--- a/test/test-lib.bash
+++ b/test/test-lib.bash
@@ -1,6 +1,10 @@
DEBUG=${DEBUG:-false}
USE_VAGRANT=${USE_VAGRANT:-true}
-DOTBOT_EXEC=${DOTBOT_EXEC:-"/dotbot/bin/dotbot"}
+if ${USE_VAGRANT}; then
+ DOTBOT_EXEC=${DOTBOT_EXEC:-"python /dotbot/bin/dotbot"}
+else
+ DOTBOT_EXEC=${DOTBOT_EXEC:-"/dotbot/bin/dotbot"}
+fi
DOTFILES="/home/$(whoami)/dotfiles"
INSTALL_CONF='install.conf.yaml'
INSTALL_CONF_JSON='install.conf.json'