diff mbox series

configure: Replace literally printed '\n' with newline

Message ID 20241018120557.43586-1-kwolf@redhat.com (mailing list archive)
State New
Headers show
Series configure: Replace literally printed '\n' with newline | expand

Commit Message

Kevin Wolf Oct. 18, 2024, 12:05 p.m. UTC
The idea here was to leave an empty line before the message, but by
default, echo prints '\n' literally instead of interpreting it. Use a
separate echo without parameter instead like in other places in the
script.

Fixes: 6fdc5bc173188f5e4942616b16d589500b874a15
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Daniel P. Berrangé Oct. 18, 2024, 12:08 p.m. UTC | #1
On Fri, Oct 18, 2024 at 02:05:57PM +0200, Kevin Wolf wrote:
> The idea here was to leave an empty line before the message, but by
> default, echo prints '\n' literally instead of interpreting it. Use a
> separate echo without parameter instead like in other places in the
> script.
> 
> Fixes: 6fdc5bc173188f5e4942616b16d589500b874a15
> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
> ---
>  configure | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


With regards,
Daniel
diff mbox series

Patch

diff --git a/configure b/configure
index 72d1a94225..0918147156 100755
--- a/configure
+++ b/configure
@@ -2062,7 +2062,8 @@  chmod +x config.status
 rm -r "$TMPDIR1"
 
 if test "$rust" != disabled; then
-  echo '\nINFO: Rust bindings generation with `bindgen` might fail in some cases where'
+  echo
+  echo 'INFO: Rust bindings generation with `bindgen` might fail in some cases where'
   echo 'the detected `libclang` does not match the expected `clang` version/target. In'
   echo 'this case you must pass the path to `clang` and `libclang` to your build'
   echo 'command invocation using the environment variables CLANG_PATH and LIBCLANG_PATH'