scripts/functions
changeset 2604 d35d7cdc0494
parent 2595 d6b2354d9d17
child 2605 09b546182d59
     1.1 --- a/scripts/functions	Tue Aug 02 23:10:37 2011 +0200
     1.2 +++ b/scripts/functions	Sun Aug 14 16:07:03 2011 +0200
     1.3 @@ -527,7 +527,9 @@
     1.4      esac
     1.5  
     1.6      # Does it exist localy?
     1.7 -    CT_GetLocal "${file}" ${first_ext} && return 0 || true
     1.8 +    if CT_GetLocal "${file}" ${first_ext}; then
     1.9 +        return 0
    1.10 +    fi
    1.11      # No, it does not...
    1.12  
    1.13      # Try to retrieve the file
    1.14 @@ -561,9 +563,8 @@
    1.15          done
    1.16      done
    1.17  
    1.18 -    # Just warn, someone may want to catch and handle the error
    1.19 +    # Just return error, someone may want to catch and handle the error
    1.20      # (eg. glibc/eglibc add-ons can be missing).
    1.21 -    CT_DoLog WARN "Could not retrieve '${file}'."
    1.22      return 1
    1.23  }
    1.24