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

Marvin Scholz epirat07 at gmail.com
Wed Jun 5 22:54:28 CEST 2019


---
 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)



More information about the vlc-devel mailing list