summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/postinstall
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/postinstall')
-rwxr-xr-xwinsup/cygwin/postinstall4
1 files changed, 3 insertions, 1 deletions
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}"