diff options
author | Anthony Green <green@moxielogic.com> | 2019-11-13 06:01:43 -0500 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2019-11-13 06:01:43 -0500 |
commit | c8986e871f82b497493d28c36be1a755c2ea6b8d (patch) | |
tree | 8704fc38292f88accd72c99df05711ec7adad153 | |
parent | 6630764d244aeb3bc0797d0c3c7ccc79084061a8 (diff) | |
download | libffi-c8986e871f82b497493d28c36be1a755c2ea6b8d.tar.gz |
Fix log name extraction
-rwxr-xr-x | .travis/build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis/build.sh b/.travis/build.sh index ba0412c..ad8163e 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -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 echo ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: - echo $(grep '==LOGFILE==' build.log) - echo $(grep '==LOGFILE==' build.log | cut -b13-) + echo $(tail build.log | grep '^==LOGFILE==') + echo $(tail build.log | grep '^==LOGFILE==' | cut -b13-) 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 ID=$(./rlgl start) |