Changeset 7f4caf0 for scripts/patch


Ignore:
Timestamp:
Feb 19, 2009, 4:42:56 AM (16 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:
52f035d
Parents:
f14cfdc
Message:

Bzip2 Multilib Update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/patch/perl-patch.sh

    rf14cfdc r7f4caf0  
    2121fi
    2222
     23# Set Patch Number
     24#
     25cd /usr/src
     26wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing
     27PATCH_NUM=$(cat index.html | grep perl | grep "${VERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)
     28PATCH_NUM=$(expr ${PATCH_NUM} + 1)
     29rm -f index.html
     30
    2331# Cleanup Directory
    2432#
     
    2836CURRENTDIR=$(pwd -P)
    2937
    30 # Get Current Updates from CVS
     38# Get Current Updates from GIT
    3139#
    3240cd /usr/src
    33 FIXEDVERSION=$(echo ${VERSION} | sed -e 's ..$  ')
    34 rsync -avz rsync://perl5.git.perl.org/APC/perl-${FIXEDVERSION}.x tmp
    35 cd tmp
    36 mv perl-${FIXEDVERSION}.x /usr/src/perl-${VERSION}
     41mkdir perl.git
     42cd perl.git
     43git clone git://perl5.git.perl.org/perl.git
    3744
    3845# Cleanup
Note: See TracChangeset for help on using the changeset viewer.