From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 2/4] fix scripts/make_device_config.sh
Date: Fri, 1 Feb 2013 13:00:42 +0100 [thread overview]
Message-ID: <1359720044-8140-3-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1359720044-8140-1-git-send-email-kraxel@redhat.com>
Make it handle multiple include statements in a file.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
scripts/make_device_config.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/make_device_config.sh b/scripts/make_device_config.sh
index 0778fe2..81fe942 100644
--- a/scripts/make_device_config.sh
+++ b/scripts/make_device_config.sh
@@ -18,7 +18,7 @@ process_includes () {
f=$src
while [ -n "$f" ] ; do
- f=`tr -d '\r' < $f | awk '/^include / {printf "'$src_dir'/%s", $2}'`
+ f=`cat $f | tr -d '\r' | awk '/^include / {printf "'$src_dir'/%s ", $2}'`
[ $? = 0 ] || exit 1
all_includes="$all_includes $f"
done
--
1.7.9.7
next prev parent reply other threads:[~2013-02-01 12:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-01 12:00 [Qemu-devel] [PATCH 0/4] usb: make devices configurable Gerd Hoffmann
2013-02-01 12:00 ` [Qemu-devel] [PATCH 1/4] usb: Makefile cleanup Gerd Hoffmann
2013-02-01 12:00 ` Gerd Hoffmann [this message]
2013-02-01 13:38 ` [Qemu-devel] [PATCH 2/4] fix scripts/make_device_config.sh Andreas Färber
2013-02-01 15:18 ` Gerd Hoffmann
2013-02-01 12:00 ` [Qemu-devel] [PATCH 3/4] make usb devices configurable Gerd Hoffmann
2013-02-01 21:37 ` Paolo Bonzini
2013-02-01 12:00 ` [Qemu-devel] [PATCH 4/4] allow disabling usb smartcard support Gerd Hoffmann
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=1359720044-8140-3-git-send-email-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).