More: [1.7] packaging problem? Both /usr/bin/ and /usr/lib/ are non-empty

Eric Blake
Thu May 14 11:58:00 GMT 2009

According to Corinna Vinschen on 5/14/2009 2:10 AM:
>> 2009/05/13 23:36:14 running: C:\cygwin-1.7\bin\bash.exe --norc
>> --noprofile -c /etc/postinstall/
>> Huh?  No /etc/fstab file in \??\C:\cygwin-1.7\etc\fstab.d\cwilso11? 
>> Using default root and cygdrive prefix...
>> /cygdrive/h/.bashrc
>> Urk?  <GalaxyQuestVoice>That's not riiight.</GQV>
> Indeed.  Eric?  Any idea?

Are there any environment variables at play, like BASH_ENV?  Can we write
a simple script that does at least:
echo $- $0 "$@"
shopt -p
for i in 0 1 2 3; do test -t $i; echo $?; done

to see if that sheds any light on the environment?  Can we even isolate
whether it is the outer call to C:\cygwin-1.7\bin\bash.exe, or the inner
call to #!/bin/sh when the script is executed, which is sourcing the rc file?

Don't work too hard, make some time for fun as well!

Eric Blake   

More information about the Cygwin-developers mailing list