Subject: toolchain/16178: mkdir /usr/tools makes build fail.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <christos@zoulas.com>
List: netbsd-bugs
Date: 04/03/2002 10:16:14
>Number: 16178
>Category: toolchain
>Synopsis: mkdir /usr/tools makes build fail.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 03 07:17:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Christos Zoulas
>Release: NetBSD 1.5ZC
>Organization:
Complete Disarray
>Environment:
System: NetBSD beowulf.gw.com 1.5ZC NetBSD 1.5ZC (GW-GENERIC) #45: Sun Mar 24 19:35:00 EST 2002 kim@nix.gw.com:/net/beowulf/src-1/NetBSD/cvsroot/src/sys/arch/i386/compile/GW-GENERIC i386
Architecture: i386
Machine: i386
>Description:
This will fail if /usr/tools exists and /usr/tools/bin fails.
if [ ! -d /usr/tools/bin ]; then mkdir /usr/tools; mkdir /usr/tools/bin; fi;
>How-To-Repeat:
mkdir /usr/tools, but don't make /usr/tools/bin
>Fix:
check for dirs before mkdir them.
>Release-Note:
>Audit-Trail:
>Unformatted: