config/functions: just check if the linux.*.conf exists

This commit is contained in:
Lukas Rusak 2017-03-14 12:06:20 -07:00
parent f9f8d5c67e
commit c7b19e897c
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -329,7 +329,7 @@ dashes="==========================="
linux_config_dir="$PROJECT_DIR/$PROJECT/linux"
fi
if [ ! -f $linux_config_dir/linux.$TARGET_ARCH.conf ] &&
if [ ! -e $linux_config_dir/linux.$TARGET_ARCH.conf ] &&
! ls $linux_config_dir/*/linux.$TARGET_ARCH.conf &>/dev/null; then
check_arch="$check_arch\n $dashes$dashes$dashes"
check_arch="$check_arch\n ERROR: Architecture not found, use a valid Architecture"