mirror of
https://github.com/libretro/libretro-super
synced 2025-02-04 15:40:07 +00:00
escape the quotation instead
This commit is contained in:
parent
9bef13cadc
commit
4ee0634905
@ -200,7 +200,7 @@ buildbot_log() {
|
||||
echo === BUILDBOT MSG: $MESSAGE ===
|
||||
MESSAGE=`echo -e $1`
|
||||
|
||||
HASH=`echo -n "$MESSAGE" | openssl sha1 -hmac $SIG | cut -f 2`
|
||||
HASH=`echo -n "$MESSAGE" | openssl sha1 -hmac $SIG | cut -f 2 -d " "`
|
||||
curl --max-time 30 --data "message=$MESSAGE&sign=$HASH" $LOGURL
|
||||
}
|
||||
|
||||
@ -275,9 +275,8 @@ build_libretro_generic_makefile() {
|
||||
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
|
||||
fi
|
||||
|
||||
echo BUILDBOT JOB: $MESSAGE
|
||||
@ -325,7 +324,7 @@ build_libretro_leiradel_makefile() {
|
||||
cp -v ${NAME}_libretro.${PLATFORM}_${ARG1}.${FORMAT_EXT} $RARCH_DIST_DIR/${DIST}/${ARG1}/${NAME}_libretro${LIBSUFFIX}.${FORMAT_EXT}
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
fi
|
||||
echo BUILDBOT JOB: $MESSAGE
|
||||
@ -373,7 +372,7 @@ build_libretro_generic_theos() {
|
||||
cp -v objs/obj/${NAME}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT} $RARCH_DIST_DIR/${NAME}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT}
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
fi
|
||||
echo BUILDBOT JOB: $MESSAGE
|
||||
@ -421,8 +420,8 @@ build_libretro_generic_jni() {
|
||||
cp -v ../libs/${a}/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/${a}/${1}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT}
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}_${a}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="$1-$a build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
echo BUILDBOT JOB: $MESSAGE
|
||||
echo BUILDBOT JOB: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}.log
|
||||
buildbot_log "$MESSAGE"
|
||||
@ -470,8 +469,8 @@ build_libretro_bsnes_jni() {
|
||||
cp -v ../libs/${a}/libretro_${CORENAME}_${PROFILE}.${FORMAT_EXT} $RARCH_DIST_DIR/${a}/${NAME}_${PROFILE}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT}
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
fi
|
||||
echo BUILDBOT JOB: $MESSAGE
|
||||
echo BUILDBOT JOB: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}.log
|
||||
@ -519,7 +518,7 @@ build_libretro_generic_gl_makefile() {
|
||||
cp -v ${NAME}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT} $RARCH_DIST_DIR/${NAME}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT}
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
fi
|
||||
echo BUILDBOT JOB: $MESSAGE
|
||||
@ -581,7 +580,7 @@ build_libretro_bsnes() {
|
||||
fi
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
fi
|
||||
echo BUILDBOT JOB: $MESSAGE
|
||||
@ -1089,8 +1088,8 @@ if [ "${PLATFORM}" = "android" ] && [ "${RA}" = "YES" ]; then
|
||||
echo $MESSAGE
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="retroarch build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
echo $MESSAGE
|
||||
fi
|
||||
echo BUILDBOT JOB: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}.log
|
||||
@ -1432,8 +1431,8 @@ EOF
|
||||
cp -rf gfx/video_filters/*.filt windows/filters/video
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="retroarch build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
echo $MESSAGE
|
||||
echo BUILDBOT JOB: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
|
||||
buildbot_log "$MESSAGE"
|
||||
@ -1547,8 +1546,8 @@ if [ "${PLATFORM}" = "psp1" ] && [ "${RA}" = "YES" ]; then
|
||||
echo $MESSAGE
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="retroarch build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
echo $MESSAGE
|
||||
fi
|
||||
buildbot_log "$MESSAGE"
|
||||
@ -1674,8 +1673,8 @@ if [ "${PLATFORM}" == "wii" ] && [ "${RA}" == "YES" ]; then
|
||||
echo $MESSAGE
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="retroarch build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
echo $MESSAGE
|
||||
fi
|
||||
buildbot_log "$MESSAGE"
|
||||
@ -1816,8 +1815,8 @@ then
|
||||
echo $MESSAGE
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="retroarch build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
echo $MESSAGE
|
||||
fi
|
||||
buildbot_log "$MESSAGE"
|
||||
@ -1945,8 +1944,8 @@ if [ "${PLATFORM}" == "ctr" ] && [ "${RA}" == "YES" ]; then
|
||||
echo $MESSAGE
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="retroarch build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
echo $MESSAGE
|
||||
fi
|
||||
buildbot_log "$MESSAGE"
|
||||
@ -2074,8 +2073,8 @@ if [ "${PLATFORM}" == "vita" ] && [ "${RA}" == "YES" ]; then
|
||||
echo $MESSAGE
|
||||
else
|
||||
ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log | tail -n 100`
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4`
|
||||
MESSAGE="$1 build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR" | cut --fields=4 --delimiter='\"'`
|
||||
MESSAGE="retroarch build failed [$jobid] LOG: http://hastebin.com/$HASTE"
|
||||
echo $MESSAGE
|
||||
fi
|
||||
buildbot_log "$MESSAGE"
|
||||
|
Loading…
x
Reference in New Issue
Block a user