summaryrefslogtreecommitdiff
path: root/dotbot
diff options
context:
space:
mode:
authorAnish Athalye <me@anishathalye.com>2018-03-27 21:18:39 -0400
committerAnish Athalye <me@anishathalye.com>2018-03-27 21:50:31 -0400
commita517c4c5d0b6bdd8ab3a62f3c6c3f38837354bde (patch)
treeb7252e9d8dd8ffee2dc9c1f5b94a9355cceab98c /dotbot
parentb7022f4abb7ff9a6b816ecb16038ff5b2f6559fb (diff)
Fix bug in test harness
Because 'bin/dotbot' is a hybrid sh/Python script that finds the appropriate Python binary and then runs, the test code should not invoke it as an sh script when sh does not source the pyenv initialization script. The fix implemented in this patch is to directly run 'bin/dotbot' as a Python script using 'python', which when called from bash, will run with the correct Python version (because bash is set up to source the pyenv initialization script).
Diffstat (limited to 'dotbot')
0 files changed, 0 insertions, 0 deletions