mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Michal Soltys <soltys-R61QfzASbfY@public.gmane.org>
To: Chao Wang <chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	wangchao19890207-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: [PATCH] Revert "dracut-functions: $_x should exist, no need to test."
Date: Wed, 01 Aug 2012 22:44:45 +0200	[thread overview]
Message-ID: <5019953D.6080203@ziu.info> (raw)
In-Reply-To: <1343791422-8391-1-git-send-email-chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

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.

  parent reply	other threads:[~2012-08-01 20:44 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 [this message]
     [not found]     ` <5019953D.6080203-R61QfzASbfY@public.gmane.org>
2012-08-02 12:29       ` Wang Chao

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=5019953D.6080203@ziu.info \
    --to=soltys-r61qfzasbfy@public.gmane.org \
    --cc=chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=wangchao19890207-Re5JQEeQqe8AvxtiuMwx3w@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