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 build/freenet/node/http/templates || mkdir
build/freenet/node/http/templates

Not as neat but it should work everywhere.

-Pascal


Matthew Toseland wrote:
> 
> 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 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 obviously not working from current cvs... I already fixed
> > > this.
> > > >
> > >
> > > >
> > > > --
> > > > Robbe
> > >
> > >   ------------------------------------------------------------------------
> > >    Part 1.2Type: application/pgp-signature
> >
> > _______________________________________________
> > devl mailing list
> > [EMAIL PROTECTED]
> > http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl
> >
> 
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature

_______________________________________________
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to