Fix log name extraction

This commit is contained in:
Anthony Green
2019-11-13 06:01:43 -05:00
parent 6630764d24
commit c8986e871f
+3 -3
View File
@@ -23,10 +23,10 @@ function build_cfarm()
{ {
curl -u ${CFARM_AUTH} https://cfarm-test-libffi-libffi.apps.home.labdroid.net/test?host=${HOST}\&commit=${TRAVIS_COMMIT} | tee build.log curl -u ${CFARM_AUTH} https://cfarm-test-libffi-libffi.apps.home.labdroid.net/test?host=${HOST}\&commit=${TRAVIS_COMMIT} | tee build.log
echo ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo $(grep '==LOGFILE==' build.log) echo $(tail build.log | grep '^==LOGFILE==')
echo $(grep '==LOGFILE==' build.log | cut -b13-) echo $(tail build.log | grep '^==LOGFILE==' | cut -b13-)
echo ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
curl -u ${CFARM_AUTH} "$(grep '== LOGFILE ==' build.log | cut -b15-)" > libffi.log curl -u ${CFARM_AUTH} "$(tail build.log | grep '^== LOGFILE ==' | cut -b15-)" > libffi.log
./rlgl l https://rl.gl ./rlgl l https://rl.gl
ID=$(./rlgl start) ID=$(./rlgl start)