This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup.exe: How to install sources from the command line?


For future readers of this thread.

>>> When I open the shell for the first time, the user directory is
>>> created. Is there a trigger to reach this without manually opening a
>>> login shell?
>>
>> The check is in '/etc/profile'. ?It's just checking if "$HOME" exists.

This does the trick from a batch script:

  P:\cygwin\bin\bash.exe -c "source /etc/profile"

Al

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]