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
+1 -1
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, '/');