commit: e02f16792baf9ac1c4d726e0eda9cc087b6cd699 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Thu Dec 17 22:20:00 2020 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Thu Dec 17 22:20:31 2020 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=e02f1679
tools: Skip copying nonexistent kconfigs Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> tools/catalyst-auto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/catalyst-auto b/tools/catalyst-auto index 484eaffc..d71ad5a2 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -354,7 +354,7 @@ run_catalyst_commands() { 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