>> AIX (and many others) "/bin/sh" doesn't supports "-l" option.
>
> Thanks for the bug report.
>
> I doubt "*many* others". This patch is already part of Tramp 2.2.11, and
> it is also synchronized with Emacs' git trunk since last December. No
> fault report so far.

By *many* I mean all Unixes whose "/bin/sh" is not /bin/bash (even
Korn Shell doesn't support "-l" switch)

>
> However, this won't help you. Which shell is /bin/sh pointing to, on AIX?

I'm not at work right now to check, but I think it's plain old
standard bourne (wih posix Posix compliant extensions) shell
>
> And I don't see a simple way to avoid this problem. "/bin/sh -l ..." is
> called only, when you have `tramp-own-remote-path' in
> `tramp-remote-path'. Tramp must perform a shell login, in order to
> determine your private $PATH settings. I can only change the code in
> order to raise an error when "/bin/sh -l ..." fires a non-zero return
> code.

I think it could be a acceptable workaround.

-- 
Gilles

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to