we have no business inserting 'bin' into paths. Fixes LP #241563

This commit is contained in:
Chris Jones 2008-06-20 11:03:16 +01:00
parent d2413d6150
commit e8e9a9dca3

View File

@ -395,7 +395,7 @@ text/plain
if not os.path.exists (shell):
for i in ['bash','zsh','tcsh','ksh','csh','sh']:
for p in paths:
shell = os.path.join(p, 'bin', i)
shell = os.path.join(p, i)
dbg ('spawn_child: Checking if "%s" exists'%shell)
if not os.path.exists (shell):
continue