This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Odd directory created when installing 1.7

--- Ven 29/10/10, Matteo Cortese  ha scritto:

> I've not seen any follow up on this issue for some time,
> and in fact I've just experienced a failure of bash's
> postinstall script fails due to the strange way DEVDIR is
> built.

I don't understand. The bash postinstall script have 
nor DEVDIR neither /cygdrive/

/etc/postinstall/ (eventually if successfull)
# Bash postinstall script.  Assumes you are running setup.exe 2.510.2.2 or
# newer, meaning that this is executed by /bin/bash and not /bin/sh (if you
# are running an older setup.exe, this postinstall script can't do anything).
# Copyright (C) 2007, 2008, 2010 Eric Blake
# This file is free software; I give unlimited permission to copy and/or
# distribute it, with or without modifications, as long as this notice is
# preserved.

# Track any failure in this script.

# Install /dev/fd, /dev/std{in,out,err}.  The bash builtin test was compiled
# to assume these exist, so use /bin/test to really check.
test -d /dev || result=1
/bin/test -h /dev/stdin  || ln -sf /proc/self/fd/0 /dev/stdin  || result=1
/bin/test -h /dev/stdout || ln -sf /proc/self/fd/1 /dev/stdout || result=1
/bin/test -h /dev/stderr || ln -sf /proc/self/fd/2 /dev/stderr || result=1
/bin/test -h /dev/fd     || ln -sf /proc/self/fd   /dev/fd     || result=1

test $result = 0 || exit $result

Could you clarify a bit ?


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]