Ignore:
Timestamp:
08/15/09 18:50:40 (4 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
('master', '72198707b19179a16b27f8fbe2febd6a79ee22c4')('clfs-1.2', '0d1a577466382847256b44170acecbd2e8cdc0c5')('simp', '271d1f963630b9cb390baf1ee2d8bdfe7d14e340')('systemd', 'ec008670fee2dc8086a6ce805d4831378d59895d')
Children:
efa1f61325f6b1f1ba6939a1d598b7e2fe3c9daf
Parents:
29f6db37e98fcfe79b7c8e3c349c99538a7686ec
git-author:
Jim Gifford <clfs@jg555.com>2009-08-15 11:50:40-07:00
git-committer:
Jim Gifford <clfs@jg555.com>2009-08-15 11:50:40-07:00
Message:

Really fix the patch scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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) 
Note: See TracChangeset for help on using the changeset viewer.