Use "python2" instead of "python".

This commit is contained in:
Markus F.X.J. Oberhumer 2020-05-23 20:07:23 +02:00
parent a817ed0692
commit a1ad1aee99
8 changed files with 8 additions and 8 deletions

View File

@ -114,7 +114,7 @@ bool PackLinuxI386sh::getShellName(char *buf)
buf[l_shname] = 0;
static char const *const shname[] = { // known shells that accept "-c" arg
"ash", "bash", "bsh", "csh", "ksh", "pdksh", "sh", "tcsh", "zsh",
"python",
"python", "python2", "python3",
NULL
};
const char *bname = strrchr(buf, '/');

View File

@ -206,7 +206,7 @@ tc_objdump_disasm_options =
ECHO_e = /bin/echo -e
ECHO_E = /bin/echo -E
PERL = perl
PYTHON = python
PYTHON = python2
UNIX2DOS := $(PERL) -i -pe 's/$$/\r/;'
# trim (strip) trailing whitespace

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2
## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*-
#
# bin2h.py --

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2
## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*-
#
# brandelf.py --

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2
## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*-
#
# gpp_inc.py -- Generic PreProcessor: include

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2
## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*-
#
# xstrip.py -- truncate ELF objects created by multiarch-objcopy-2.17

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2
## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*-
#
# cleanasm.py --

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2
## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*-
#
# wdis2gas.py --