All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: kwolf@redhat.com, Peter Maydell <peter.maydell@linaro.org>,
	aliguori@us.ibm.com, stefanha@gmail.com, qemu-devel@nongnu.org,
	blauwirbel@gmail.com, Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 1/2] Buildsystem fix distclean error in pixman
Date: Fri, 16 Nov 2012 18:53:44 +0800	[thread overview]
Message-ID: <50A61B38.8050605@linux.vnet.ibm.com> (raw)
In-Reply-To: <50A617AC.5030606@redhat.com>

于 2012-11-16 18:38, Gerd Hoffmann 写道:
> On 11/16/12 11:26, Peter Maydell wrote:
>> On 16 November 2012 10:23, Paolo Bonzini <pbonzini@redhat.com> wrote:
>>> Il 16/11/2012 10:27, Peter Maydell ha scritto:
>>>> On 16 November 2012 05:05, Wenchao Xia <xiawenc@linux.vnet.ibm.com> wrote:
>>>>> -       test -f pixman/config.log && make -C pixman distclean
>>>>> +       @if test -f pixman/config.log; \
>>>>> +       then \
>>>>> +               make -C pixman distclean;\
>>>>> +       fi
>>>>
>>>> These two bits of shellscript both do the same thing, don't they?
>>>
>>> No, when "test" fails the && exits with a failure.  The "if" exits with
>>> a success (not the most portable thing ever, but we assume a decent
>>> shell elsewhere).
>>
>> Aha. I love shell. (This detail could usefully have been
>> provided in the commit message...)
>
> Agree.  Can I get a version with an updated commit message for the
> pixman patch queue?
>
> thanks,
>    Gerd
>
   Sure,I'll resend according to more comments later.


-- 
Best Regards

Wenchao Xia

  reply	other threads:[~2012-11-16 10:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-16  5:05 [Qemu-devel] [PATCH 0/2] Buildsystem fix Wenchao Xia
2012-11-16  5:05 ` [Qemu-devel] [PATCH 1/2] Buildsystem fix distclean error in pixman Wenchao Xia
2012-11-16  9:27   ` Peter Maydell
2012-11-16 10:08     ` Wenchao Xia
2012-11-16 10:16       ` Peter Maydell
2012-11-16 10:27         ` Wenchao Xia
2012-11-16 10:23     ` Paolo Bonzini
2012-11-16 10:26       ` Peter Maydell
2012-11-16 10:38         ` Gerd Hoffmann
2012-11-16 10:53           ` Wenchao Xia [this message]
2012-11-16 10:51       ` Wenchao Xia
2012-11-16  5:05 ` [Qemu-devel] [PATCH 2/2] Buildsystem clean tests directory clearly Wenchao Xia
2012-11-16 10:23   ` Paolo Bonzini
2012-11-16 10:29     ` Peter Maydell

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=50A61B38.8050605@linux.vnet.ibm.com \
    --to=xiawenc@linux.vnet.ibm.com \
    --cc=aliguori@us.ibm.com \
    --cc=blauwirbel@gmail.com \
    --cc=kraxel@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /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.