diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 718612324..53c506ef3 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2008-04-14 Corinna Vinschen + + * postinstall: Fix copy/paste bug. + 2008-04-14 Corinna Vinschen * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Fix diff --git a/winsup/cygwin/postinstall b/winsup/cygwin/postinstall index 829bb5feb..8a6928374 100755 --- a/winsup/cygwin/postinstall +++ b/winsup/cygwin/postinstall @@ -157,9 +157,11 @@ EOF #cygd="" #prefix=$(regtool -q get "$key\cygdrive prefix") + #flags=$(regtool -q get "$key\cygdrive flags") + #[ -z "$flags" ] && flags=2 ## Don't take system and cygdrive flags into account when testing #if [ -n "$prefix" \ - # -a \( "$prefix" != "/cygdrive" \ -o "$(( $flags & ~0x28 ))" -ne 2 \) ] + # -a \( "$prefix" != "/cygdrive" -o "$(( $flags & ~0x28 ))" -ne 2 \) ] #then # cygd="1" # psx="${prefix// /\\040}"