Changeset 29f6db3 for scripts/fetch/eglibc.sh
- Timestamp:
- Aug 15, 2009, 6:36:56 PM (15 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 4648865
- Parents:
- 842cd58
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/fetch/eglibc.sh
r842cd58 r29f6db3 36 36 # 37 37 cd ~/tmp 38 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 39 PATCH_NUM=$(cat index.html | grep eglibc | grep "${SOURCEVERSION}" | grep fixes | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 40 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 38 wget http://svn.cross-lfs.org/svn/repos/patches/eglibc/ --no-remove-listing 39 for num in $(seq 1 99); do 40 PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep fixes-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 41 if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then 42 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 43 break 44 fi 45 if [ "${PATCH_NUM}" != "${num}" ]; then 46 PATCH_NUM=$(expr ${num}) 47 break 48 fi 49 done 41 50 rm -f index.html 42 51
Note:
See TracChangeset
for help on using the changeset viewer.