tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error found with latest (2.2.12) version on non Linux hosts


From: Gilles Pion
Subject: Re: error found with latest (2.2.12) version on non Linux hosts
Date: Fri, 17 Jul 2015 20:48:50 +0200

>> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]