qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH 1/5] configure: remove duplicate single quotes on


From: Cleber Rosa
Subject: [Qemu-trivial] [PATCH 1/5] configure: remove duplicate single quotes on config.log header
Date: Thu, 27 Jul 2017 08:02:06 -0400

The generation of the informational header on config.log contains two
pairs of single quotes, which seems unintentional, and looks like
this:

  # QEMU configure log Thu Jul 26 08:17:15 EDT 2017
  # Configured with: './configure' '--target-list=x86_64-softmmu'

With this change, the quotes comprehend the entire command line:

  # QEMU configure log Mon Jul 26 08:17:35 EDT 2017
  # Configured with: './configure --target-list=x86_64-softmmu'

Signed-off-by: Cleber Rosa <address@hidden>
---
 configure | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/configure b/configure
index 987f59b..344d6d2 100755
--- a/configure
+++ b/configure
@@ -35,9 +35,7 @@ rm -f config.log
 
 # Print a helpful header at the top of config.log
 echo "# QEMU configure log $(date)" >> config.log
-printf "# Configured with:" >> config.log
-printf " '%s'" "$0" "$@" >> config.log
-echo >> config.log
+echo "# Configured with: '$0 $@'" >> config.log
 echo "#" >> config.log
 
 print_error() {
-- 
2.9.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]