[vlc-commits] contrib/bootstrap: Use add_make instead of echo redirect

Marvin Scholz git at videolan.org
Thu Jun 18 18:31:55 CEST 2020


vlc/vlc-3.0 | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Jun  5 13:10:28 2019 +0200| [f461074b60ffd9b94abb63546e0e800fcca4de89] | committer: Steve Lhomme

contrib/bootstrap: Use add_make instead of echo redirect

(cherry picked from commit eefb33d4b4a86e4a359b9f6ac6f1667cf7eb45bf)
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=f461074b60ffd9b94abb63546e0e800fcca4de89
---

 contrib/bootstrap | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index ce1f7d2d96..97f267cd59 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -405,10 +405,10 @@ esac
 #
 # Results output
 #
-echo TOPSRC = .. >> Makefile
-echo TOPSRC_BUILT = ../.. >> Makefile
-echo TOPDST = .. >> Makefile
-echo include $\(TOPSRC\)/src/main.mak >> Makefile
+add_make "TOPSRC = .."
+add_make "TOPSRC_BUILT = ../.."
+add_make "TOPDST = .."
+add_make 'include $(TOPSRC)/src/main.mak'
 echo "Bootstrap completed."
 make help
 mkdir -p ../../contrib/tarballs || exit $?



More information about the vlc-commits mailing list