From patchwork Fri Jan 14 19:12:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "David S. Ahern" X-Patchwork-Id: 78996 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 3B2ECB70A3 for ; Sat, 15 Jan 2011 06:19:34 +1100 (EST) Received: from localhost ([127.0.0.1]:37813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdpBL-0000Ae-37 for incoming@patchwork.ozlabs.org; Fri, 14 Jan 2011 14:19:31 -0500 Received: from [140.186.70.92] (port=33878 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pdp4Z-0005YE-23 for qemu-devel@nongnu.org; Fri, 14 Jan 2011 14:12:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pdp4X-0007IH-Nt for qemu-devel@nongnu.org; Fri, 14 Jan 2011 14:12:30 -0500 Received: from sj-iport-5.cisco.com ([171.68.10.87]:2644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pdp4X-0007I0-FR for qemu-devel@nongnu.org; Fri, 14 Jan 2011 14:12:29 -0500 Authentication-Results: sj-iport-5.cisco.com; dkim=neutral (message not signed) header.i=none Received: from sj-core-5.cisco.com ([171.71.177.238]) by sj-iport-5.cisco.com with ESMTP; 14 Jan 2011 19:12:29 +0000 Received: from daahern-lx.cisco.com (sjc-daahern-8915.cisco.com [10.20.182.150]) by sj-core-5.cisco.com (8.13.8/8.14.3) with ESMTP id p0EJCNri004346; Fri, 14 Jan 2011 19:12:28 GMT From: David Ahern To: qemu-devel@nongnu.org Date: Fri, 14 Jan 2011 12:12:11 -0700 Message-Id: <1295032341-6926-2-git-send-email-daahern@cisco.com> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1295032341-6926-1-git-send-email-daahern@cisco.com> References: <1295032341-6926-1-git-send-email-daahern@cisco.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: David Ahern Subject: [Qemu-devel] [PATCH 01/11] fix 'no such file' error from make_device_config.sh X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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/qe Root cause is a space in the filename (determined by Markus Armbruster). Change from Markus Armbruster . 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..711829c 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=`tr -d '\r' <"$f" | awk '/^include / {print "'$src_dir'/" $2}'` [ $? = 0 ] || exit 1 all_includes="$all_includes $f" done