Changeset 4648865 for scripts/fetch


Ignore:
Timestamp:
Aug 15, 2009, 11:50:40 AM (15 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:
efa1f61
Parents:
29f6db3
Message:

Really fix the patch scripts.

Location:
scripts/fetch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • scripts/fetch/binutils.sh

    r29f6db3 r4648865  
    3535wget http://svn.cross-lfs.org/svn/repos/patches/binutils/ --no-remove-listing
    3636for 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)
     37  PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep fixes-${num}.patch | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
    3838  if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then
    3939    PATCH_NUM=$(expr ${PATCH_NUM} + 1)
  • scripts/fetch/eglibc.sh

    r29f6db3 r4648865  
    3838wget http://svn.cross-lfs.org/svn/repos/patches/eglibc/ --no-remove-listing
    3939for 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)
     40  PATCH_NUM=$(cat index.html | grep "${SOURCEVERSION}" | grep fixes-${num}.patch | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
    4141  if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then
    4242    PATCH_NUM=$(expr ${PATCH_NUM} + 1)
Note: See TracChangeset for help on using the changeset viewer.