From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: "Amadeusz Żołnowski" <aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
Cc: initramfs <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] dracut: don't skip zero-length string outfile argument
Date: Tue, 29 Mar 2011 10:27:33 +0200 [thread overview]
Message-ID: <4D9197F5.9030900@redhat.com> (raw)
In-Reply-To: <1301354408-sup-3380@ittemni>
Am 29.03.2011 01:22, schrieb Amadeusz Żołnowski:
> Excerpts from Amadeusz Żołnowski's message of Tue Mar 29 00:52:16 +0200 2011:
>> +outfile="unset"
>
> This is bad for file.
used this:
diff --git a/dracut b/dracut
index 6b67dc0..0324ac5 100755
--- a/dracut
+++ b/dracut
@@ -237,8 +237,9 @@ while (($# > 0)); do
;;
-*) printf "\nUnknown option: %s\n\n" "$1" >&2; usage; exit 1;;
*)
- if ! [[ $outfile ]]; then
+ if ! [[ $outfile_set ]]; then
outfile=$1
+ outfile_set=y
elif [[ $kernel = "unset" ]]; then
kernel=$1
else
prev parent reply other threads:[~2011-03-29 8:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-28 22:52 [PATCH] dracut: don't skip zero-length string outfile argument Amadeusz Żołnowski
[not found] ` <1301352736-5715-1-git-send-email-aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
2011-03-28 23:21 ` [PATCHv2] " Amadeusz Żołnowski
2011-03-28 23:22 ` [PATCH] " Amadeusz Żołnowski
2011-03-29 8:27 ` Harald Hoyer [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=4D9197F5.9030900@redhat.com \
--to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@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