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: /etc/profile error


At 05:38 PM 11/15/2004, you wrote:


>Hi.  I just installed Cygwin on an IBM laptop running Windows XP.
>Whenever I bring up a Cygwin shell, I get the following error:
>
>  bash: /etc/profile: line 196: syntax error: unexpected end of file
>
>I don't see any problem with /etc/profile:
>
>   190    echo "mkpasswd -l -d > /etc/passwd"
>   191    echo "mkgroup  -l -d > /etc/group"
>   192    echo
>   193    echo "This message is only displayed once (unless you recreate /etc/group)"
>   194    echo "and can be safely ignored."
>   195  
>   196    # only display the above once
>   197    cp -f /etc/group ${HOME}/group.mkgroup_l_d \
>   198    && ( [ -w /etc/group ] || chmod --silent a+w /etc/group ; )\
>   199    && sed -e 's/^mkgroup_l_d/mkgroup-l-d/' ${HOME}/group.mkgroup_l_d > /etc/group \
>
>In fact, this /etc/profile file is identical to the /etc/profile files
>in other Cygwin installations I have done recently, and do not
>generate the error quoted above.
>
>Can someone tell me how to fix this problem?


<http://cygwin.com/ml/cygwin-apps/2004-11/msg00106.html>

Look for a very current mirror and update.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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


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