diff --git a/lib/functions.in b/lib/functions.in index 45bdd3e..1a1c17f 100644 --- a/lib/functions.in +++ b/lib/functions.in @@ -587,7 +587,9 @@ rock_substitute() { # packages to cross-build correctly in stages 0 and 1. # create_config_cache() { - cat $base/architecture/share/config.cache + if [ -e $base/architecture/share/config.cache ]; then + cat $base/architecture/share/config.cache + fi if [ $createarchcache -eq 1 ]; then cat <<-EOT