From 5a941367647d399fa513f2002f18e022de5486c2 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Sun, 4 Apr 2004 01:18:36 +0000 Subject: [PATCH] "python -c" works, so python is a shell. [However, scripts often use: #!/usr/bin/env python instead of #!/usr/bin/python because for a long time python was not "blessed" by living in /usr/bin; many users have python in /usr/local or some other place in $PATH. And /usr/bin/env does not take "-c".] committer: jreiser 1081041516 +0000 --- src/p_lx_sh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_lx_sh.cpp b/src/p_lx_sh.cpp index aa8d8963..89e63408 100644 --- a/src/p_lx_sh.cpp +++ b/src/p_lx_sh.cpp @@ -96,7 +96,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", // FIXME: does python work ??? + "python", NULL }; const char *bname = strrchr(buf, '/');