summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/blobutil.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/blobutil.sh b/include/blobutil.sh
index 324d19eb..a32a8ba6 100755
--- a/include/blobutil.sh
+++ b/include/blobutil.sh
@@ -47,11 +47,10 @@ eval "${setvars}"
check_defconfig()
{
- no_config="printf \"No target defconfig in %s\\n\" ${1} 1>&2; return 1"
for x in "${1}"/config/*; do
- [ -f "${x}" ] && no_config=""
+ [ -f "${x}" ] && return 0
done
- eval "${no_config}"
+ return 1
}
fetch()