You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
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:
@@ -1,4 +1,4 @@
|
|||||||
#! python
|
#!/usr/bin/env python
|
||||||
# Mode: -*- python -*-
|
# Mode: -*- python -*-
|
||||||
#
|
#
|
||||||
# Copyright (c) 2000-2002 by hartmut Goebel <h.goebel@crazy-compilers.com>
|
# Copyright (c) 2000-2002 by hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||||
|
Reference in New Issue
Block a user