8000 fix bug: 仅当Python版本低于2.7时才会执行exit 1退出 · lcppcl/code@16e22f9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 16e22f9

Browse files
committed
fix bug: 仅当Python版本低于2.7时才会执行exit 1退出
1 parent 9c67868 commit 16e22f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/install_code.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# Check Python version > 2.7
4-
test `python -c 'import sys; print sys.version_info < (2, 7)'` = "True" && echo 'CODE requires Pyth 4FBD on 2.7.'; exit 1
4+
test `python -c 'import sys; print sys.version_info < (2, 7)'` = "True" && echo 'CODE requires Python 2.7.' && exit 1
55

66
url='https://raw.github.com/douban/code/master/scripts'
77

0 commit comments

Comments
 (0)
0