Changeset 167f981


Ignore:
Timestamp:
Jun 6, 2009, 11:30:36 AM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
c3cd569a
Parents:
3d79fa8
Message:

Updated eglibc retrieve script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/fetch/eglibc.sh

    r3d79fa8 r167f981  
    1515  exit 255
    1616fi
     17
     18# Clear out old Directory
     19#
     20rm -rf ~/tmp
    1721
    1822# Get Current Eglibc from SVN
     
    3438# Remove Files not needed
    3539#
     40cd ~/tmp/eglibc-${SOURCEVERSION}
    3641FILE_LIST=".cvsignore"
    3742for files in ${FILE_LIST}; do
     
    4449# Fix configuration files
    4550#
     51cd ~/tmp/eglibc-${SOURCEVERSION}
    4652echo "Updating Glibc configure files..."
    4753find . -name configure -exec touch {} \;
    4854
     55# Change gcc to BUILD_CC in the following files
     56#
     57cd ~/tmp/eglibc-${SOURCEVERSION}/libc
     58FIX_FILES="sunrpc/Makefile timezone/Makefile"
     59for fix_file in ${FIX_FILES}; do
     60  sed -i "s/gcc/\'$\(BUILD_CC\)'/g" ${fix_file}
     61done
     62
    4963# Compress
    5064#
     65cd ~/tmp/eglibc-${SOURCEVERSION}
    5166echo "Creating Tarball for Eglibc Ports ${SOURCEVERSION}...."
    5267tar cjf ~/public_html/eglibc-ports-${SOURCEVERSION}.tar.bz2 ports
Note: See TracChangeset for help on using the changeset viewer.