[vlc-devel] [PATCH v3 5/9] contrib/bootstrap: Replace echo -n with printf

Rémi Denis-Courmont remi at remlab.net
Fri Jun 7 16:26:02 CEST 2019


Hi,

Why do you use %s here?

Le 7 juin 2019 15:52:19 GMT+03:00, Marvin Scholz <epirat07 at gmail.com> a écrit :
>---
> contrib/bootstrap | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
>diff --git a/contrib/bootstrap b/contrib/bootstrap
>index f260f371b7..6d1a559452 100755
>--- a/contrib/bootstrap
>+++ b/contrib/bootstrap
>@@ -124,7 +124,7 @@ fi
> 
> if test -z "$BUILD"
> then
>-	echo -n "Guessing build system... "
>+	printf '%s' "Guessing build system... "
> 	BUILD="`${CC:-cc} -dumpmachine | sed s/windows-gnu/mingw32/`"
> 	if test -z "$BUILD"; then
> 		echo "FAIL!"
>@@ -135,12 +135,12 @@ fi
> 
> if test -z "$HOST"
> then
>-	echo -n "Guessing host system...  "
>+	printf '%s' "Guessing host system...  "
> 	HOST="$BUILD"
> 	echo "$HOST"
> fi
> 
>-echo -n "Packages licensing...    "
>+printf '%s' "Packages licensing...    "
> if test -n "$GPL"
> then
> 	if test -n "$GNUV3"
>-- 
>2.20.1 (Apple Git-117)
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190607/28f314fd/attachment.html>


More information about the vlc-devel mailing list