X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 	tests=BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: Changing HOME for PERL
Date: Wed, 26 Aug 2009 15:17:58 -0400
Message-ID: <CC93624851A47D42AFD22FB06BCD2D9A0234B8A7@CORPUSMX80B.corp.emc.com>
From: <Dexter_Michael@emc.com>
To: <cygwin@cygwin.com>
X-EMM-EM: Active
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hello,

I installed Cygwin yesterday and when I run it and look at "pwd" my path
is set to:   /cygdrive/h

I read the FAQ and when I type "set HOME" from a Windows CLI, it is set
to:
HOME=3DH:\

I am using Cygwin for PERL.=20=20

I just took a PERL course and in class Cygwin was configured for:
/usr/bin/perl

This was perfect because I could make my SheBang look like:=09
#!/usr/bin/perl

I would like to do that again with the Cygwin I installed myself
yesterday.

I did modify /etc/passwd.=20=20
The last line had: 	...:/cygdrive/h:/bin/bash
and I changed it to:	...:/usr/bin/perl:/bin/bash

But when I open a new Cygwin session it remembers the old /cygdrive/h

Could someone help me?  I don't want to have to change my SheBang
everytime I deploy a PERL script to Unix after having created it in
Cygwin on Windows.

Thank you,=20

Michael J. Dexter

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

