From c3ef361ef1ec4ca5948d4d4cf0587df5bd4ded96 Mon Sep 17 00:00:00 2001 From: Shiva Poudel Date: Tue, 25 Jun 2019 16:57:23 +0545 Subject: [PATCH] Fix - Shell scripts to check python binary in windows, closes #187 --- bin/dotbot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dotbot b/bin/dotbot index 123fc93..df066c2 100755 --- a/bin/dotbot +++ b/bin/dotbot @@ -7,9 +7,9 @@ # is useful because we don't know the name of the python binary. ''':' # begin python string; this line is interpreted by the shell as `:` -which python3 >/dev/null 2>&1 && exec python3 "$0" "$@" which python >/dev/null 2>&1 && exec python "$0" "$@" which python2 >/dev/null 2>&1 && exec python2 "$0" "$@" +which python3 >/dev/null 2>&1 && exec python3 "$0" "$@" >&2 echo "error: cannot find python" exit 1 '''