This is the mail archive of the
mailing list for the Cygwin project.
Changing HOME for PERL
- From: <Dexter_Michael at emc dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 26 Aug 2009 15:17:58 -0400
- Subject: Changing HOME for PERL
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
I am using Cygwin for PERL.
I just took a PERL course and in class Cygwin was configured for:
This was perfect because I could make my SheBang look like:
I would like to do that again with the Cygwin I installed myself
I did modify /etc/passwd.
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.
Michael J. Dexter
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple