All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: talex5@gmail.com, stefano.stabellini@eu.citrix.com,
	anil@recoil.org, ian.jackson@eu.citrix.com,
	xen-devel@lists.xen.org, pooka@iki.fi,
	samuel.thibault@ens-lyon.org, dgdegra@tycho.nsa.gov
Subject: Re: [PATCH 4/7] git-checkout.sh: use "mkdir -p"
Date: Mon, 2 Feb 2015 14:58:17 +0000	[thread overview]
Message-ID: <1422889097.4801.5.camel@citrix.com> (raw)
In-Reply-To: <1422881943-7687-5-git-send-email-wei.liu2@citrix.com>

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@citrix.com>

Acked-by: Ian Campbell <ian.campbell@citrix.com>

As a future change perhaps we should clone mini-os under stubdom/*
somewhere instead of in extras?

> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> ---
>  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

  reply	other threads:[~2015-02-02 14:58 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-02 12:58 [PATCH 0/7] Split off mini-os to a separate tree Wei Liu
2015-02-02 12:58 ` [PATCH 1/7] stubdom: fix "make build" Wei Liu
2015-02-02 14:53   ` Ian Campbell
2015-02-02 22:11   ` Samuel Thibault
2015-02-02 12:58 ` [PATCH 2/7] Makefile: refactor build/clean/distclean targets Wei Liu
2015-02-02 14:54   ` Ian Campbell
2015-02-02 12:58 ` [PATCH 3/7] stubdom: don't look for mini-os source file during configure Wei Liu
2015-02-02 15:09   ` Ian Jackson
2015-02-02 15:27     ` Wei Liu
2015-02-02 12:59 ` [PATCH 4/7] git-checkout.sh: use "mkdir -p" Wei Liu
2015-02-02 14:58   ` Ian Campbell [this message]
2015-02-02 15:02     ` Ian Jackson
2015-02-02 15:05       ` Andrew Cooper
2015-02-02 15:02     ` Wei Liu
2015-02-02 12:59 ` [PATCH 5/7] Mini-OS: standalone build Wei Liu
2015-02-02 14:59   ` Ian Campbell
2015-02-02 12:59 ` [PATCH 6/7] build system: stubdom targets now depends on mini-os target Wei Liu
2015-02-02 15:01   ` Ian Campbell
2015-02-02 15:03     ` Ian Campbell
2015-02-02 17:18       ` Wei Liu
2015-02-03 11:31         ` Ian Campbell
2015-02-02 15:12     ` Wei Liu
2015-02-02 15:15       ` Ian Jackson
2015-02-02 15:25         ` Wei Liu
2015-02-02 12:59 ` [PATCH 7/7] Remove in-tree mini-os directory Wei Liu
2015-02-02 15:02   ` Ian Campbell
2015-02-02 14:50 ` [PATCH 0/7] Split off mini-os to a separate tree Ian Campbell
2015-02-02 14:59   ` Wei Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1422889097.4801.5.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=anil@recoil.org \
    --cc=dgdegra@tycho.nsa.gov \
    --cc=ian.jackson@eu.citrix.com \
    --cc=pooka@iki.fi \
    --cc=samuel.thibault@ens-lyon.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=talex5@gmail.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.