From 62d8744811e9473869e2b4b255bb4a3f0e63fae0 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Fri, 20 Feb 2015 15:46:37 -0800 Subject: [PATCH] Some fixes for MAME rule --- libretro-build-common.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index d12a905a..45d34891 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -494,7 +494,7 @@ build_libretro_mame_modern() { echo "cp \"${2}_libretro${FORMAT}.$FORMAT_EXT\" \"$RARCH_DIST_DIR\"" cp "${2}_libretro${FORMAT}.$FORMAT_EXT" "$RARCH_DIST_DIR" ret=$? - build_summary_log $ret "mame" + build_summary_log $ret "$2" return $ret else echo 'MAME not fetched, skipping ...' @@ -721,6 +721,9 @@ build_summary() { else printf -v summary "%s%s\n\n" "$summary" " 0 cores failed to build!" fi + if [[ -z "$build_success" && -z "$build_fail" ]]; then + printf -v summary "%s%s\n\n" "$summary" "No build actions performed." + fi if [ -n "$BUILD_SUMMARY" ]; then echo "$summary" > "$BUILD_SUMMARY" fi