Changeset 29f6db3 for scripts/fetch
- Timestamp:
- Aug 15, 2009, 11:36:56 AM (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
- Location:
- scripts/fetch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/fetch/binutils.sh
r842cd58 r29f6db3 33 33 # 34 34 cd ~/tmp 35 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 36 PATCH_NUM=$(cat index.html | grep binutils | grep "${VERSION}" | grep fixes | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 37 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 35 wget http://svn.cross-lfs.org/svn/repos/patches/binutils/ --no-remove-listing 36 for num in $(seq 1 99); do 37 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) 38 if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then 39 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 40 break 41 fi 42 if [ "${PATCH_NUM}" != "${num}" ]; then 43 PATCH_NUM=$(expr ${num}) 44 break 45 fi 46 done 38 47 rm -f index.html 39 48 -
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.