mirror of
https://github.com/libretro/libretro-super
synced 2024-11-28 20:14:22 +00:00
fix logging
This commit is contained in:
parent
130b39dc42
commit
3891101031
@ -214,10 +214,10 @@ build_libretro_generic_makefile() {
|
|||||||
if [ "${NAME}" = "mame2010" ]; then
|
if [ "${NAME}" = "mame2010" ]; then
|
||||||
|
|
||||||
echo "build command: ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} ${ARGS}" buildtools
|
echo "build command: ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} ${ARGS}" buildtools
|
||||||
${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} ${ARGS} buildtools | tee current.log
|
${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} ${ARGS} buildtools
|
||||||
fi
|
fi
|
||||||
echo "build command: ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} ${ARGS}"
|
echo "build command: ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} ${ARGS}"
|
||||||
${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} ${ARGS} | tee current.log
|
${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} ${ARGS} | tee /tmp/current.log
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
@ -228,9 +228,9 @@ build_libretro_generic_makefile() {
|
|||||||
fi
|
fi
|
||||||
cp -v ${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT} $RARCH_DIST_DIR/${DIST}/${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT}
|
cp -v ${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT} $RARCH_DIST_DIR/${DIST}/${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT}
|
||||||
else
|
else
|
||||||
ERROR=`cat current.log | tail -n 1000`
|
ERROR=`cat /tmp/current.log | tail -n 1000`
|
||||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$haste"`
|
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR"`
|
||||||
MESSAGE="$1 build failed [$jobid] [LOG:$HASTE]"
|
MESSAGE="$1 build failed [$jobid] [LOG: $HASTE]"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
echo BUILDBOT JOB: $MESSAGE
|
echo BUILDBOT JOB: $MESSAGE
|
||||||
|
Loading…
Reference in New Issue
Block a user