mirror of
https://github.com/libretro/libretro-super.git
synced 2024-11-30 11:30:50 +00:00
don't try to gzip nothing, it will hang
This commit is contained in:
parent
67cc1d14c8
commit
86e6db1c48
@ -275,8 +275,12 @@ buildbot_handle_message() {
|
||||
MESSAGE="$NAME: [status: done] [$jobid]"
|
||||
else
|
||||
if [ -n "$LOGURL" ]; then
|
||||
gzip -9fk $ERROR
|
||||
HASTE=`curl -X POST http://p.0bl.net/ --data-binary @${ERROR}.gz`
|
||||
HASTE="n/a"
|
||||
|
||||
if [ -n "$ERROR" ]; then
|
||||
gzip -9fk $ERROR
|
||||
HASTE=`curl -X POST http://p.0bl.net/ --data-binary @${ERROR}.gz`
|
||||
fi
|
||||
MESSAGE="$NAME: [status: fail] [$jobid] LOG: $HASTE"
|
||||
curl -X POST -d type="finish" -d index="$ENTRY_ID" -d status="fail" -d log="$HASTE" http://buildbot.fiveforty.net/build_entry/
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user