www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.2 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Alan Sinclair <alan DOT sinclair AT citrix DOT com> |
Subject: | setting environment for bash running via cygserver |
Date: | Fri, 9 Sep 2011 17:44:52 +0000 (UTC) |
Lines: | 12 |
Message-ID: | <loom.20110909T192501-772@post.gmane.org> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Where can I set environment variables which will be available in a bash script running under cygserver? I need to ssh onto a remote cygserver and run bash scripts. RSA keys are all set up so no password is needed and I can ssh onto the target machine just fine by doing ssh me AT machine bash ~/myscript.sh ARGS But myscript.sh is not getting the environment it needs. For example, the script needs PROGRAMFILES, and also needs PROCESSOR_ARCHITEW6432 set in the environment on 64-bit OS. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |