summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/libc/eglibc.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh
index 18fac76..dcce76c 100644
--- a/scripts/build/libc/eglibc.sh
+++ b/scripts/build/libc/eglibc.sh
@@ -41,18 +41,18 @@ do_libc_get() {
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