Quellcode durchsuchen

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 vor 10 Jahren
Ursprung
Commit
e35fea2b9a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      gitstats

+ 1
- 1
gitstats Datei anzeigen

@@ -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