[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 4/7] git-checkout.sh: use "mkdir -p"



On Mon, Feb 02, 2015 at 02:58:17PM +0000, Ian Campbell wrote:
> On Mon, 2015-02-02 at 12:59 +0000, Wei Liu wrote:
> > Otherwise mkdir extras/mini-os fails because extras doesn't exist.
> > 
> > Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> 
> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> 
> As a future change perhaps we should clone mini-os under stubdom/*
> somewhere instead of in extras?
> 

Ian J suggested that I should avoid touching stubdom build at the moment
so I went with the obvious correct approach. :-)

Wei.

> > Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> > ---
> >  scripts/git-checkout.sh | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/scripts/git-checkout.sh b/scripts/git-checkout.sh
> > index 15b3ce9..20ae31f 100755
> > --- a/scripts/git-checkout.sh
> > +++ b/scripts/git-checkout.sh
> > @@ -13,7 +13,7 @@ set -e
> >  
> >  if test \! -d $DIR-remote; then
> >     rm -rf $DIR-remote $DIR-remote.tmp
> > -   mkdir $DIR-remote.tmp; rmdir $DIR-remote.tmp
> > +   mkdir -p $DIR-remote.tmp; rmdir $DIR-remote.tmp
> >     $GIT clone $TREE $DIR-remote.tmp
> >     if test "$TAG" ; then
> >             cd $DIR-remote.tmp
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.