update buildbot script

This commit is contained in:
Radius 2015-08-13 23:11:51 +01:00
parent a60489bd7f
commit 500227b36f

View File

@ -260,6 +260,8 @@ build_libretro_leiradel_makefile() {
PLATFORM=$5
ARGS=$6
ARG1=`echo ${ARGS} | cut -f 1 -d " "`
cd $DIR
cd $SUBDIR
OLDJ=$JOBS
@ -281,7 +283,8 @@ build_libretro_leiradel_makefile() {
if [ $? -eq 0 ]; then
MESSAGE="$1 build successful [$jobid]"
cp -v ${NAME}_libretro.${PLATFORM}-${ARGS}.${FORMAT_EXT} $RARCH_DIST_DIR/${DIST}/${ARGS}/${NAME}_libretro${SUFFIX}.${FORMAT_EXT} &>> /tmp/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
echo "cp -v ${NAME}_libretro.${PLATFORM}-${ARG1}.${FORMAT_EXT} $RARCH_DIST_DIR/${DIST}/${ARG1}/${NAME}_libretro${SUFFIX}.${FORMAT_EXT}"
cp -v ${NAME}_libretro.${PLATFORM}-${ARG1}.${FORMAT_EXT} $RARCH_DIST_DIR/${DIST}/${ARGS}/${NAME}_libretro${SUFFIX}.${FORMAT_EXT} &>> /tmp/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
else
ERROR=`cat /tmp/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log | tail -n 100`
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='"'`