From fdf1c3769af5431fde5bc63566a7ab077c276bc1 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Mon, 2 Feb 2015 20:48:08 -0800 Subject: [PATCH] Remove a few bashisms --- libretro-build-common.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index 3596e069..8316d981 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -1,4 +1,4 @@ -# vi: ts=3 sw=3 et ft=bash +# vi: ts=3 sw=3 et ft=sh die() { echo $1 @@ -308,7 +308,6 @@ build_libretro_meteor() { } build_libretro_nestopia() { - echo command build_libretro_generic_makefile "nestopia" "libretro" "Makefile" ${FORMAT_COMPILER_TARGET} build_libretro_generic_makefile "nestopia" "libretro" "Makefile" ${FORMAT_COMPILER_TARGET} } @@ -618,14 +617,14 @@ build_summary() { if [ -z "${NOBUILD_SUMMARY}" ]; then echo "=== Core Build Summary ===" > ${BUILD_SUMMARY} if [ -r "${BUILD_SUCCESS}" ]; then - echo "$(wc -l < ${BUILD_SUCCESS}) core(s) successfully built:" >> ${BUILD_SUMMARY} + echo "`wc -l < ${BUILD_SUCCESS}` core(s) successfully built:" >> ${BUILD_SUMMARY} ${BUILD_SUMMARY_FMT} ${BUILD_SUCCESS} >> ${BUILD_SUMMARY} else echo " 0 cores successfully built. :(" >> ${BUILD_SUMMARY} - echo "$(wc -l < ${BUILD_FAIL}) core(s) failed to build:" + echo "`wc -l < ${BUILD_FAIL}` core(s) failed to build:" fi if [ -r "${BUILD_FAIL}" ]; then - echo "$(wc -l < ${BUILD_FAIL}) core(s) failed to build:" >> ${BUILD_SUMMARY} + echo "`wc -l < ${BUILD_FAIL}` core(s) failed to build:" >> ${BUILD_SUMMARY} ${BUILD_SUMMARY_FMT} ${BUILD_FAIL} >> ${BUILD_SUMMARY} else echo " 0 cores failed to build! :D" >> ${BUILD_SUMMARY}