Matthew Toseland writes:
> Isn't mkdir -p gnu specific?
It's in the Single Unix Spec v2, and I'd bet in POSIX, too. Every
non-ancient system should have it.
--
Robbe
-- next part --
A non-text attachment was scrubbed...
Name: signature.ng
Type:
On Mon, Sep 02, 2002 at 03:01:11PM -0500, Pascal wrote:
> If some systems don't support it you could instead do something along
> the lines of:
>
> test -d build || mkdir build
> test -d build/freenet || mkdir build/freenet
> test -d build/freenet/node || mkdir build/freenet/node
> test -d
> > test -d build || mkdir build
> > test -d build/freenet || mkdir build/freenet
> > test -d build/freenet/node || mkdir build/freenet/node
> > test -d build/freenet/node/http || mkdir build/freenet/node/http
> > test -d build/freenet/node/http/templates || mkdir
> >
If some systems don't support it you could instead do something along
the lines of:
test -d build || mkdir build
test -d build/freenet || mkdir build/freenet
test -d build/freenet/node || mkdir build/freenet/node
test -d build/freenet/node/http || mkdir build/freenet/node/http
test -d
On Sun, Sep 01, 2002 at 09:09:12PM -0500, Pascal wrote:
Actually the current cvs is still missing the -p on the mkdir. If
you've fixed this you forgot to commit it.
-Pascal
Isn't mkdir -p gnu specific?
Matthew Toseland wrote:
On Sun, Sep 01, 2002 at 09:51:46PM +0200, Robert
If some systems don't support it you could instead do something along
the lines of:
test -d build || mkdir build
test -d build/freenet || mkdir build/freenet
test -d build/freenet/node || mkdir build/freenet/node
test -d build/freenet/node/http || mkdir build/freenet/node/http
test -d
On Mon, Sep 02, 2002 at 03:01:11PM -0500, Pascal wrote:
If some systems don't support it you could instead do something along
the lines of:
test -d build || mkdir build
test -d build/freenet || mkdir build/freenet
test -d build/freenet/node || mkdir build/freenet/node
test -d
test -d build || mkdir build
test -d build/freenet || mkdir build/freenet
test -d build/freenet/node || mkdir build/freenet/node
test -d build/freenet/node/http || mkdir build/freenet/node/http
test -d build/freenet/node/http/templates || mkdir
build/freenet/node/http/templates
I
Matthew Toseland [EMAIL PROTECTED] writes:
Isn't mkdir -p gnu specific?
It's in the Single Unix Spec v2, and I'd bet in POSIX, too. Every
non-ancient system should have it.
--
Robbe
signature.ng
Description: PGP signature
On Sun, Sep 01, 2002 at 09:51:46PM +0200, Robert Bihlmeyer wrote:
> Make bombs out with:
>
> mkdir: cannot create directory `build/freenet/node/http/templates': No such
> file or directory
>
> That's because build/freenet/node/http does not exist yet. Here's the
> "obviously correct" fix:
Heh.
Make bombs out with:
mkdir: cannot create directory `build/freenet/node/http/templates': No such
file or directory
That's because build/freenet/node/http does not exist yet. Here's the
"obviously correct" fix:
-- next part --
A non-text attachment was scrubbed...
Name:
Actually the current cvs is still missing the -p on the mkdir. If
you've fixed this you forgot to commit it.
-Pascal
Matthew Toseland wrote:
>
> On Sun, Sep 01, 2002 at 09:51:46PM +0200, Robert Bihlmeyer wrote:
> > Make bombs out with:
> >
> > mkdir: cannot create directory
Make bombs out with:
mkdir: cannot create directory `build/freenet/node/http/templates': No such file or
directory
That's because build/freenet/node/http does not exist yet. Here's the
obviously correct fix:
Index: Makefile
===
On Sun, Sep 01, 2002 at 09:51:46PM +0200, Robert Bihlmeyer wrote:
Make bombs out with:
mkdir: cannot create directory `build/freenet/node/http/templates': No such file or
directory
That's because build/freenet/node/http does not exist yet. Here's the
obviously correct fix:
Heh. You're
Actually the current cvs is still missing the -p on the mkdir. If
you've fixed this you forgot to commit it.
-Pascal
Matthew Toseland wrote:
On Sun, Sep 01, 2002 at 09:51:46PM +0200, Robert Bihlmeyer wrote:
Make bombs out with:
mkdir: cannot create directory
15 matches
Mail list logo