From: Wang Chao <wangchao19890207-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Michal Soltys <soltys-R61QfzASbfY@public.gmane.org>
Cc: Chao Wang <chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] Revert "dracut-functions: $_x should exist, no need to test."
Date: Thu, 02 Aug 2012 20:29:26 +0800 [thread overview]
Message-ID: <501A72A6.4040105@gmail.com> (raw)
In-Reply-To: <5019953D.6080203-R61QfzASbfY@public.gmane.org>
On 08/02/2012 04:44 AM, Michal Soltys wrote:
> On 2012-08-01 05:23, Chao Wang wrote:
>> This reverts commit b2d225a6698607bbcb73b6e6d12fbfc5be014102.
>>
>
> For the record, your original commit could work after setting:
>
> shopt -s nullglob
>
> For failing globs this expands to empty string and the loop is never
> executed. All kinds of such checks could go away in any bash-expecting
> script.
Good to know! Thank you!
-Chao
prev parent reply other threads:[~2012-08-02 12:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 3:23 [PATCH] Revert "dracut-functions: $_x should exist, no need to test." Chao Wang
[not found] ` <1343791422-8391-1-git-send-email-chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-08-01 20:44 ` Michal Soltys
[not found] ` <5019953D.6080203-R61QfzASbfY@public.gmane.org>
2012-08-02 12:29 ` Wang Chao [this message]
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=501A72A6.4040105@gmail.com \
--to=wangchao19890207-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=soltys-R61QfzASbfY@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox