浏览代码

use python2 enviroment

On systems like Arch Linux `python` defaults to `python3` preventing
gitstats to start. This fixes it.

Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>

[hoxu@users.sf.net: Debian Jessie and CentOS 6.5 have /usr/bin/python2,
but OS X Yosemite only has /usr/bin/python2.7. There does not seem to be
a portable way to refer to python 2.x, so unfortunately on some
platforms the shebang needs to be modified manually]
Stephan Kuschel 10 年前
父节点
当前提交
e35fea2b9a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      gitstats

+ 1
- 1
gitstats 查看文件

@@ -1,4 +1,4 @@
1
-#!/usr/bin/env python
1
+#!/usr/bin/env python2
2 2
 # Copyright (c) 2007-2014 Heikki Hokkanen <hoxu@users.sf.net> & others (see doc/AUTHOR)
3 3
 # GPLv2 / GPLv3
4 4
 import datetime