diff --git a/builder.sh b/builder.sh index bb2851d8c670c96bab93e65d0e9cd4c78d64b05c..50c374f813f4179dde71372c59d923c76989d5ec 100755 --- a/builder.sh +++ b/builder.sh @@ -75,17 +75,20 @@ rm -rf output/images mkdir -p output mkdir -p output/cmd -echo "#######################################" -echo "#######################################" -echo Welcome! This is the Freifunk Braunschweig Gluon Bulder script. Nice to serve you -echo - Building for the following GLUON_BRANCH: \"${BRANCH}\" -echo - The release will be tagged: ${RELEASETAG} -echo - The release will be namend: ${RELEASENAME} -echo - Bulding with j=${J} -echo - Debug-Config: \"${DEBUG}\" -echo - Building for the following architectures: ${ARCHITECTURES} -echo "#######################################" -echo "#######################################" +function print_info () { + echo "#######################################" + echo "#######################################" + echo Welcome! This is the Freifunk Braunschweig Gluon Bulder script. Nice to serve you + echo - Building for the following GLUON_BRANCH: \"${BRANCH}\" + echo - The release will be tagged: ${RELEASETAG} + echo - The release will be namend: ${RELEASENAME} + echo - Bulding with j=${J} + echo - Debug-Config: \"${DEBUG}\" + echo - Building for the following architectures: ${ARCHITECTURES} + echo "#######################################" + echo "#######################################" +} +print_info # update toolchain to current release make update @@ -167,3 +170,5 @@ echo Renaming files for consistent naming scheme (cd output/${RELEASETAG}/factory; md5sum * > MD5SUMS) || true (cd output/${RELEASETAG}/sysupgrade; md5sum * > MD5SUMS) || true (cd output/${RELEASETAG}/other; md5sum * > MD5SUMS) || true + +print_info