From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=43227 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdGlr-0001YK-Po for qemu-devel@nongnu.org; Thu, 13 Jan 2011 01:34:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdGlg-0000PO-Fl for qemu-devel@nongnu.org; Thu, 13 Jan 2011 01:34:55 -0500 Received: from sj-iport-5.cisco.com ([171.68.10.87]:43813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdGlg-0000Oi-B2 for qemu-devel@nongnu.org; Thu, 13 Jan 2011 01:34:44 -0500 From: David Ahern Date: Wed, 12 Jan 2011 23:34:30 -0700 Message-Id: <1294900477-23722-2-git-send-email-daahern@cisco.com> In-Reply-To: <1294900477-23722-1-git-send-email-daahern@cisco.com> References: <1294900477-23722-1-git-send-email-daahern@cisco.com> Subject: [Qemu-devel] [PATCH 1/8] fix 'no such file' error from make_device_config.sh List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: David Ahern make_device_config currently emits an error: make config-all-devices.mak GEN x86_64-softmmu/config-devices.mak /home/dsa/kvm/releases/qemu.git/make_device_config.sh: line 21: /home/dsa/kvm/releases/qemu.git/default-configs/pci.mak : No such file or directory /bin/sh does not like the file redirection for tr so change it to cat. Signed-off-by: David Ahern --- make_device_config.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/make_device_config.sh b/make_device_config.sh index 596fc5b..1ce4088 100644 --- a/make_device_config.sh +++ b/make_device_config.sh @@ -18,7 +18,7 @@ process_includes () { f=$src while [ -n "$f" ] ; do - f=`tr -d '\r' < $f | awk '/^include / {ORS=" "; print "'$src_dir'/" $2}'` + f=`cat $f | tr -d '\r' | awk '/^include / {ORS=" "; print "'$src_dir'/" $2}'` [ $? = 0 ] || exit 1 all_includes="$all_includes $f" done -- 1.7.3.4