Account for shorter ==LOGFILE== string

This commit is contained in:
Anthony Green
2019-11-12 22:56:37 -05:00
parent aa975ec3e4
commit 6630764d24
+1 -1
View File
@@ -24,7 +24,7 @@ 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
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo $(grep '==LOGFILE==' build.log)
echo $(grep '==LOGFILE==' build.log | cut -b15-)
echo $(grep '==LOGFILE==' build.log | cut -b13-)
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
curl -u ${CFARM_AUTH} "$(grep '== LOGFILE ==' build.log | cut -b15-)" > libffi.log