aboutsummaryrefslogtreecommitdiff
path: root/prepare.sh
diff options
context:
space:
mode:
authorAlex Auvolat <katchup@adnab.me>2015-07-14 09:35:00 -0400
committerAlex Auvolat <katchup@adnab.me>2015-07-14 09:35:00 -0400
commit84d3e81ab4cb43938d67d44b50f3aafdbbadc224 (patch)
tree3a873f75d4f2f654944705195fce5bb83c998853 /prepare.sh
parent771dad76442a632c37656701f0ec6988a28c5a8d (diff)
downloadtaxi-84d3e81ab4cb43938d67d44b50f3aafdbbadc224.tar.gz
taxi-84d3e81ab4cb43938d67d44b50f3aafdbbadc224.zip
s/python/python2/ at a few places for prepare.sh compatibility
Diffstat (limited to 'prepare.sh')
-rwxr-xr-x[-rw-r--r--]prepare.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/prepare.sh b/prepare.sh
index addc3df..8da4731 100644..100755
--- a/prepare.sh
+++ b/prepare.sh
@@ -23,7 +23,7 @@ echo -e "\n$BLUE# Checking dependencies"
python_import(){
echo -n "${YELLOW}$1... $RESET"
- if ! python -c "import $1; print '${GREEN}version', $1.__version__, '${YELLOW}(we used version $2)'"; then
+ if ! python2 -c "import $1; print '${GREEN}version', $1.__version__, '${YELLOW}(we used version $2)'"; then
echo "${RED}failed, $1 is not installed"
exit 1
fi