call python via /usr/bin/env python =more portable

The shebang line of the uncompyle2 script is not using /usr/bin/env python causing it to fail to run when invoked as a standalone script

```Shell
uncompyle2# ./scripts/uncompyle2 -h
bash: ./scripts/uncompyle2: python: bad interpreter: No such file or directory
```
Changing the shebang line to #!/usr/bin/env python fixes the problem and is best practice (or so I'm told)

```Shell
uncompyle2# ./scripts/uncompyle2 -h

Usage: uncompyle2 [OPTIONS]... [ FILE | DIR]...
...snip...
```
This commit is contained in:
Josh
2015-06-23 15:55:55 -05:00
parent 3fb1b851ea
commit ef0f83232f

View File

@@ -1,4 +1,4 @@
#! python
#!/usr/bin/env python
# Mode: -*- python -*-
#
# Copyright (c) 2000-2002 by hartmut Goebel <h.goebel@crazy-compilers.com>