delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/26/17:21:53

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Cygwin-installed /etc/profile supplied appears to be DOS-type text file
Date: Sun, 26 Nov 2006 22:21:25 -0000
Message-ID: <004c01c711a9$3671a070$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <loom.20061126T152600-822@post.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 26 November 2006 14:33, Rex Godby wrote:

> After updating Cygwin today (26 November 2006), the installed version of
> /etc/profile appeared to become a DOS-type text file rather than a Unix-type
> text file.  That caused severe problems (e.g. "unknown command") when
> starting up the Cygwin login shell.  Correcting the file type back to Unix
> seems to have solved the problem.

  There aint no CRs in the one I just downloaded:

/tmp $ wget
http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/releas
e/base-files/base-files-3.7-1.tar.bz2
--22:17:29--
http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/relea
se/base-files/base-files-3.7-1.tar.bz2
           => `base-files-3.7-1.tar.bz2'
Resolving www.mirrorservice.org... 212.219.56.135, 212.219.56.133,
212.219.56.13
4
Connecting to www.mirrorservice.org[212.219.56.135]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 35,398 [application/x-tar]

100%[====================================>] 35,398       170.29K/s

22:17:30 (170.29 KB/s) - `base-files-3.7-1.tar.bz2' saved [35398/35398]

@_______. .
(       /"\
 ||--||(___)
 '"  '"'---'
/tmp $ bunzip2 base-files-3.7-1.tar.bz2
@_______. .
(       /"\
 ||--||(___)
 '"  '"'---'
/tmp $ tar xfv base-files-3.7-1.tar
etc/
etc/defaults/
etc/defaults/etc/
etc/defaults/etc/bash.bashrc
etc/defaults/etc/profile
etc/defaults/etc/profile.d/
etc/defaults/etc/skel/
etc/defaults/etc/skel/.bashrc
etc/defaults/etc/skel/.bash_profile
etc/defaults/etc/skel/.inputrc
etc/postinstall/
etc/postinstall/base-files-mketc.sh
etc/postinstall/base-files-profile.sh
etc/preremove/
etc/preremove/base-files-manifest.lst
etc/preremove/base-files.sh
etc/skel/
usr/
usr/share/
usr/share/doc/
usr/share/doc/base-files/
usr/share/doc/base-files/ChangeLog
usr/share/doc/base-files/README
usr/share/doc/common-licenses/
usr/share/doc/common-licenses/AFL-1.1
usr/share/doc/common-licenses/AFL-1.2
usr/share/doc/common-licenses/AFL-2.0
usr/share/doc/common-licenses/AFL-2.1
usr/share/doc/common-licenses/AFL
usr/share/doc/common-licenses/Apache-1.0
usr/share/doc/common-licenses/Apache-1.1
usr/share/doc/common-licenses/Apache-2.0
usr/share/doc/common-licenses/Apache
usr/share/doc/common-licenses/Artistic
usr/share/doc/common-licenses/BSD
usr/share/doc/common-licenses/GPL-2
usr/share/doc/common-licenses/GPL-2.0
usr/share/doc/common-licenses/GPL
usr/share/doc/common-licenses/LGPL-2
usr/share/doc/common-licenses/LGPL-2.0
usr/share/doc/common-licenses/LGPL-2.1
usr/share/doc/common-licenses/LGPL
usr/share/doc/common-licenses/MIT
usr/share/doc/common-licenses/PHP-3.0
@_______. .
(       /"\
 ||--||(___)
 '"  '"'---'
/tmp $ wc -c /etc/defaults/etc/profile
6533 /etc/defaults/etc/profile
@_______. .
(       /"\
 ||--||(___)
 '"  '"'---'
/tmp $ cat /etc/defaults/etc/profile | tr -d '\015' | wc -c
6533
@_______. .
(       /"\
 ||--||(___)
 '"  '"'---'
/tmp $



  Is it possible you've made local modifications to your /etc/profile, so it
no longer gets upgraded by setup.exe?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019