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