Skip to content

Commit 80b437d

Browse files
committed
Search for only python 2.7
1 parent 5acdc83 commit 80b437d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ -z "$python_bin" ]; then
1919
if [[ "`uname`" =~ "Darwin" ]]; then
2020
python_bin=$(which python)
2121
else
22-
python_bin=$(whereis -b python | tr ' ' '\n' | egrep "/python([0-9].[0-9])?$" | head -1)
22+
python_bin=$(whereis -b python | tr ' ' '\n' | egrep "/python(2\.7)?$" | head -1)
2323
fi
2424
fi
2525
if [ -z "$python_bin" ]; then

0 commit comments

Comments
 (0)