From ef0f83232fad2a298abbd2636952f8411d322c01 Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 23 Jun 2015 15:55:55 -0500 Subject: [PATCH] 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... ``` --- scripts/uncompyle2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/uncompyle2 b/scripts/uncompyle2 index 032f4e3c..a503c4e8 100755 --- a/scripts/uncompyle2 +++ b/scripts/uncompyle2 @@ -1,4 +1,4 @@ -#! python +#!/usr/bin/env python # Mode: -*- python -*- # # Copyright (c) 2000-2002 by hartmut Goebel