Changeset 4648865


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
Files:
9 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)
  • scripts/patch/bash-patch.sh

    r29f6db3 r4648865  
    3737wget http://svn.cross-lfs.org/svn/repos/patches/bash/ --no-remove-listing
    3838for num in $(seq 1 99); do
    39   PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
     39  PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num}.patch | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
    4040  if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then
    4141    PATCH_NUM=$(expr ${PATCH_NUM} + 1)
  • scripts/patch/binutils-patch.sh

    r29f6db3 r4648865  
    3333wget http://svn.cross-lfs.org/svn/repos/patches/binutils/ --no-remove-listing
    3434for num in $(seq 1 99); do
    35   PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
     35  PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num}.patch | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
    3636  if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then
    3737    PATCH_NUM=$(expr ${PATCH_NUM} + 1)
     
    4444done
    4545for num in $(seq 1 99); do
    46   PATCH_NUM2=$(cat index.html | grep "${SOURCEVERSION}" | grep fixes-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
     46  PATCH_NUM2=$(cat index.html | grep "${SOURCEVERSION}" | grep fixes-${num}.patch | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
    4747  if [ "${PATCH_NUM2}" = "0" -a "${num}" = "1" ]; then
    4848    PATCH_NUM2=$(expr ${PATCH_NUM2} + 1)
  • scripts/patch/gcc-patch.sh

    r29f6db3 r4648865  
    3131wget http://svn.cross-lfs.org/svn/repos/patches/gcc/ --no-remove-listing
    3232for num in $(seq 1 99); do
    33   PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
     33  PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num}.patch | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
    3434  if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then
    3535    PATCH_NUM=$(expr ${PATCH_NUM} + 1)
     
    4242done
    4343for num in $(seq 1 99); do
    44   PATCH_NUM2=$(cat index.html | grep "${SOURCEVERSION}" | grep fixes-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
     44  PATCH_NUM2=$(cat index.html | grep "${SOURCEVERSION}" | grep fixes-${num}.patch | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
    4545  if [ "${PATCH_NUM2}" = "0" -a "${num}" = "1" ]; then
    4646    PATCH_NUM2=$(expr ${PATCH_NUM2} + 1)
  • scripts/patch/ncurses-patch.sh

    r29f6db3 r4648865  
    3636wget http://svn.cross-lfs.org/svn/repos/patches/ncurses/ --no-remove-listing
    3737for num in $(seq 1 99); do
    38   PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
     38  PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num}.patch | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
    3939  if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then
    4040    PATCH_NUM=$(expr ${PATCH_NUM} + 1)
  • scripts/patch/perl-patch.sh

    r29f6db3 r4648865  
    2626wget http://svn.cross-lfs.org/svn/repos/patches/perl/ --no-remove-listing
    2727for num in $(seq 1 99); do
    28   PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
     28  PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num}.patch | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
    2929  if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then
    3030    PATCH_NUM=$(expr ${PATCH_NUM} + 1)
  • scripts/patch/readline-patch.sh

    r29f6db3 r4648865  
    3737wget http://svn.cross-lfs.org/svn/repos/patches/readline/ --no-remove-listing
    3838for num in $(seq 1 99); do
    39   PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
     39  PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num}.patch | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
    4040  if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then
    4141    PATCH_NUM=$(expr ${PATCH_NUM} + 1)
  • scripts/patch/vim-patch.sh

    r29f6db3 r4648865  
    3636wget http://svn.cross-lfs.org/svn/repos/patches/vim/ --no-remove-listing
    3737for num in $(seq 1 99); do
    38   PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
     38  PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num}.patch | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
    3939  if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then
    4040    PATCH_NUM=$(expr ${PATCH_NUM} + 1)
Note: See TracChangeset for help on using the changeset viewer.