From 7edfef7b582fed700b3629f02137372f3baebab4 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Fri, 13 Mar 2015 11:53:56 -0700 Subject: [PATCH] Fix a stupid bug in rule script fragments --- libretro-build-common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index 6da86999..a293ac83 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -273,7 +273,7 @@ libretro_build_core() { case "$core_build_rule" in generic_makefile) for a in configure preclean prebuild prepkg; do - if [ "$(type -f libretro_${1}_build_$a)" = "function" ]; then + if [ "$(type -t libretro_${1}_build_$a 2> /dev/null)" = "function" ]; then eval "core_build_$a=libretro_${1}_build_$a" else eval "core_build_$a="