Use "python2" instead of "python".

This commit is contained in:
Markus F.X.J. Oberhumer
2020-05-23 20:07:23 +02:00
parent a3594698e2
commit 78c3f58f50
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ bool PackLinuxI386sh::getShellName(char *buf)
buf[l_shname] = 0; buf[l_shname] = 0;
static char const *const shname[] = { // known shells that accept "-c" arg static char const *const shname[] = { // known shells that accept "-c" arg
"ash", "bash", "bsh", "csh", "ksh", "pdksh", "sh", "tcsh", "zsh", "ash", "bash", "bsh", "csh", "ksh", "pdksh", "sh", "tcsh", "zsh",
"python", "python", "python2", "python3",
NULL NULL
}; };
const char *bname = strrchr(buf, '/'); const char *bname = strrchr(buf, '/');
+1 -1
View File
@@ -206,7 +206,7 @@ tc_objdump_disasm_options =
ECHO_e = /bin/echo -e ECHO_e = /bin/echo -e
ECHO_E = /bin/echo -E ECHO_E = /bin/echo -E
PERL = perl PERL = perl
PYTHON = python PYTHON = python2
UNIX2DOS := $(PERL) -i -pe 's/$$/\r/;' UNIX2DOS := $(PERL) -i -pe 's/$$/\r/;'
# trim (strip) trailing whitespace # trim (strip) trailing whitespace
+1 -1
View File
@@ -1,4 +1,4 @@
#! /usr/bin/env python #! /usr/bin/env python2
## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*- ## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*-
# #
# bin2h.py -- # bin2h.py --
+1 -1
View File
@@ -1,4 +1,4 @@
#! /usr/bin/env python #! /usr/bin/env python2
## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*- ## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*-
# #
# brandelf.py -- # brandelf.py --
+1 -1
View File
@@ -1,4 +1,4 @@
#! /usr/bin/env python #! /usr/bin/env python2
## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*- ## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*-
# #
# gpp_inc.py -- Generic PreProcessor: include # gpp_inc.py -- Generic PreProcessor: include
+1 -1
View File
@@ -1,4 +1,4 @@
#! /usr/bin/env python #! /usr/bin/env python2
## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*- ## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*-
# #
# xstrip.py -- truncate ELF objects created by multiarch-objcopy-2.17 # xstrip.py -- truncate ELF objects created by multiarch-objcopy-2.17
+1 -1
View File
@@ -1,4 +1,4 @@
#! /usr/bin/env python #! /usr/bin/env python2
## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*- ## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*-
# #
# cleanasm.py -- # cleanasm.py --
+1 -1
View File
@@ -1,4 +1,4 @@
#! /usr/bin/env python #! /usr/bin/env python2
## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*- ## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*-
# #
# wdis2gas.py -- # wdis2gas.py --