Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Nov 1995 17:27:56 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        "Eric L. Hernes" <erich@lodgenet.com>
Cc:        "Eric L. Hernes" <erich@freefall.freebsd.org>, CVS-commiters@freefall.freebsd.org, cvs-ports@freefall.freebsd.org
Subject:   Re: cvs commit: ports/emulators/linux_lib/pkg PLIST 
Message-ID:  <462.815880476@time.cdrom.com>
In-Reply-To: Your message of "Wed, 08 Nov 1995 18:03:22 CST." <199511090003.SAA02403@jake.lodgenet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> all I did was add ``[ -d ${PREFIX} ] ||'' to the front of the mkdir
> command. I ran the previous version on a machine that already
> had /compat/linux, and the pre-build failed.
> Maybe I'm just being anal about it. ;-)

Waak?  Really?  mkdir -p doesn't *return* an error status!

E.g. you can do:

	mkdir -p /usr/foo
	mkdir -p /usr/foo
	mkdir -p /usr/foo

And each one will say "Fine, boss.  Done."

					Jordan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?462.815880476>