tools: Skip copying nonexistent kconfigs

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2020-12-17 17:20:00 -05:00
parent af8ffec8e7
commit e02f16792b

View file

@ -354,7 +354,7 @@ run_catalyst_commands() {
done done
done done
find "${KCONFIG_DIR}" -type f -exec cp {} "${TMPDIR}"/kconfig \; [[ -n ${KCONFIG_DIR} ]] && find "${KCONFIG_DIR}" -type f -exec cp {} "${TMPDIR}"/kconfig \;
cd "${TMPDIR}/specs" || exit 1 cd "${TMPDIR}/specs" || exit 1