Index: kitcreator ================================================================== --- kitcreator +++ kitcreator @@ -166,11 +166,15 @@ echo -n "Building ${pkg} ..." ( cd "${pkg}" >/dev/null 2>/dev/null || exit 1 - ./build.sh 3>&1 4>&2 > build.log 2>&1 || exit 1 + build_script='./build.sh' + if [ -x 'kitcreator-build.sh' ]; then + build_script='./kitcreator-build.sh' + fi + "${build_script}" 3>&1 4>&2 > build.log 2>&1 || exit 1 ) || failed="1" fi if [ "${failed}" = "1" ]; then echo " failed."