Commit Graph

4 Commits

Author SHA1 Message Date
Josh
ef0f83232f 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...
```
2015-06-23 15:55:55 -05:00
Ralph Moritz
a24d1c6c2c Minor script cleanup.
Fix inconsistencies in uncompyle2 script, rename to scripts/uncompyle2 & add to
setup.py (these are all changes from wibiti). Also, change script headers so
they work on Windows too. Remove build folder from repo & add .gitignore so it
doesn't inadvertently get added again.
2013-06-16 23:42:20 +02:00
Mysterie
16174505a4 Cleaning code & patch 2012-10-11 16:32:59 +02:00
Mysterie
b820316f37 first commit 2012-06-05 10:46:41 +02:00