delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/02/13:46:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
In-Reply-To: <49D4F61A.6040307@gmail.com>
References: <0D6D42D2-1441-4985-81BB-1BFEFC96666E AT von-campe DOT com> <AF7D7B8E-7FC0-4C1E-B374-07A23D8B7AEC AT von-campe DOT com> <20090402152317 DOT GZ12738 AT calimero DOT vinschen DOT de> <060C5EFC-5083-4C89-9257-BA5DB382C173 AT von-campe DOT com> <20090402161317 DOT GD12738 AT calimero DOT vinschen DOT de> <49D4F61A DOT 6040307 AT gmail DOT com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Message-Id: <0AF6EA82-E3D1-4EE0-BD49-77E7514748C0@von-campe.com>
Cc: cygwin AT cygwin DOT com
From: Alfred von Campe <alfred AT von-campe DOT com>
Subject: Re: Strange problem with running dmake via ssh
Date: Thu, 2 Apr 2009 14:46:22 -0400
To: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Apr 2, 2009, at 13:30, Dave Korn wrote:

>   Is this possibly caused by having $SHELL set in the environment  
> in one case
> but not the other?

We have a winner!  The SHELL environment variable was set in both  
cases to /bin/bash.  Well, doing a "echo $SHELL" returned "/bin/bash"  
in both cases.  However, doing a "env | grep SHELL=" only returned  
"SHELL=/bin/bash" in the ssh window.  If I unset the SHELL  
environment variable in the ssh window, I can get dmake to work!  I  
don't quite understand the subtle difference of how these environment  
variables are set, but I am happy that I can now run our builds over  
ssh.

So thanks for the SHELL environment variable hint which helped me  
find a solution, Dave.  I owe you a <insert your favorite beverage  
here>.

Alfred


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019