Browse Source

lib/functions.in: changed to test for $base/architecture/share/config.cache before trying to access it

stable/0.6
Christian Wiese 12 years ago
parent
commit
6c236a9c2a
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      lib/functions.in

+ 3
- 1
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

Loading…
Cancel
Save