about base-files

Cyrille Lefevre cyrille.lefevre-lists@laposte.net
Tue Feb 9 23:21:00 GMT 2010


Hi,

FYI

package version : base-files-3.9-3.tar.bz2

postinstall message :

running: D:\Cygwin\bin\bash.exe --norc --noprofile
/etc/postinstall/base-files-mketc.sh
cygwin warning:
   MS-DOS style path detected: C:\WINDOWS\system32\drivers\etc
   Preferred POSIX equivalent is: /cygdrive/c/WINDOWS/system32/drivers/etc
   CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
   Consult the user's guide for more details about POSIX paths:
     http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

=> should export CYGWIN=nodosfilewarning

How about to add the followed lines to the beginning of the
base-files-mketc.sh script ?

case $CYGWIN in
*nodosfilewarning*) ;;
*) CYGWIN=nodosfilewarning export CYGWIN
    # well, maybe CYGWIN="$CYGWIN nodosfilewarning" ?
    exec /bin/bash --norc --noprofile $0 ;;
esac

Regards,

PS : don't know why I can't submit to -apps while I'm subscribed !

Cyrille Lefevre
-- 
mailto:Cyrille.Lefevre-lists@laposte.net



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



More information about the Cygwin mailing list