Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 28, 2020. It is now read-only.

Commit 3bcd7b9

Browse files
refactor: 修改shebang,兼容MINGW环境
#!/usr/bin/python3 可以兼容 1. 安装位置没有改动的Linux 2. Windows的Py.exe 启动器(即使Windows没有对应目录) 但Windows下git 使用MINGW运行,查找这个路径会失败 MINGW带有env,会在PATH里面查找对应命令 改为交由env解析
1 parent fa464bc commit 3bcd7b9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

‎.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,6 @@ docs/_build/
5858
# PyBuilder
5959
target/
6060

61+
# PyCharm
62+
.idea/
63+

‎validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python3
1+
#!/usr/bin/env python
22
# -*- coding:utf-8 -*-
33

44
import os

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /