From e02f16792baf9ac1c4d726e0eda9cc087b6cd699 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 17 Dec 2020 17:20:00 -0500 Subject: [PATCH] tools: Skip copying nonexistent kconfigs Signed-off-by: Matt Turner --- 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