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

Marvin Scholz epirat07 at gmail.com
Fri Jun 7 16:38:54 CEST 2019


On 7 Jun 2019, at 16:26, Rémi Denis-Courmont wrote:

> Hi,
>
> Why do you use %s here?

Indeed thats not necessary for these cases, removed %s locally.
Thanks

>
> 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é._______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list