[vlc-devel] [PATCH 6/6] contrib/bootstrap: Use add_make instead of echo redirect

Marvin Scholz epirat07 at gmail.com
Wed Jun 5 13:10:50 CEST 2019


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

diff --git a/contrib/bootstrap b/contrib/bootstrap
index 02a958ca79..803f9a713f 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 $?
-- 
2.20.1 (Apple Git-117)



More information about the vlc-devel mailing list