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

Marvin Scholz git at videolan.org
Wed Jun 12 21:09:40 CEST 2019


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Jun  5 13:10:28 2019 +0200| [eefb33d4b4a86e4a359b9f6ac6f1667cf7eb45bf] | committer: Marvin Scholz

contrib/bootstrap: Use add_make instead of echo redirect

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

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

diff --git a/contrib/bootstrap b/contrib/bootstrap
index 2e87a44f1e..f260f371b7 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -387,10 +387,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