diff -r f9e0931908f4 -r 1626414b1662 scripts/build/libc/eglibc.sh --- a/scripts/build/libc/eglibc.sh Thu May 07 19:30:32 2009 +0000 +++ b/scripts/build/libc/eglibc.sh Mon Jul 27 22:14:08 2009 +0200 @@ -41,18 +41,18 @@ eglibc_ports="${CT_LIBC}-ports-${CT_LIBC_VERSION}.tar.bz2" # Check if every tarballs are already present - if [ -a "${CT_TARBALLS_DIR}/${eglibc}" ] && \ - [ -a "${CT_TARBALLS_DIR}/${eglibc_linuxthreads}" ] && \ - [ -a "${CT_TARBALLS_DIR}/${eglibc_localedef}" ] && \ - [ -a "${CT_TARBALLS_DIR}/${eglibc_ports}" ]; then + if [ -f "${CT_TARBALLS_DIR}/${eglibc}" ] && \ + [ -f "${CT_TARBALLS_DIR}/${eglibc_linuxthreads}" ] && \ + [ -f "${CT_TARBALLS_DIR}/${eglibc_localedef}" ] && \ + [ -f "${CT_TARBALLS_DIR}/${eglibc_ports}" ]; then CT_DoLog DEBUG "Already have 'eglibc-${CT_LIBC_VERSION}'" return 0 fi - if [ -a "${CT_LOCAL_TARBALLS_DIR}/${eglibc}" ] && \ - [ -a "${CT_LOCAL_TARBALLS_DIR}/${eglibc_linuxthreads}" ] && \ - [ -a "${CT_LOCAL_TARBALLS_DIR}/${eglibc_localedef}" ] && \ - [ -a "${CT_LOCAL_TARBALLS_DIR}/${eglibc_ports}" ] && \ + if [ -f "${CT_LOCAL_TARBALLS_DIR}/${eglibc}" ] && \ + [ -f "${CT_LOCAL_TARBALLS_DIR}/${eglibc_linuxthreads}" ] && \ + [ -f "${CT_LOCAL_TARBALLS_DIR}/${eglibc_localedef}" ] && \ + [ -f "${CT_LOCAL_TARBALLS_DIR}/${eglibc_ports}" ] && \ [ "${CT_FORCE_DOWNLOAD}" != "y" ]; then CT_DoLog DEBUG "Got 'eglibc-${CT_LIBC_VERSION}' from local storage" for file in ${eglibc} ${eglibc_linuxthreads} ${eglibc_localedef} ${eglibc_ports}; do