- Timestamp:
- Feb 18, 2009, 8:42:56 PM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 52f035d
- Parents:
- f14cfdc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/patch/perl-patch.sh
rf14cfdc r7f4caf0 21 21 fi 22 22 23 # Set Patch Number 24 # 25 cd /usr/src 26 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 27 PATCH_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) 28 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 29 rm -f index.html 30 23 31 # Cleanup Directory 24 32 # … … 28 36 CURRENTDIR=$(pwd -P) 29 37 30 # Get Current Updates from CVS38 # Get Current Updates from GIT 31 39 # 32 40 cd /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} 41 mkdir perl.git 42 cd perl.git 43 git clone git://perl5.git.perl.org/perl.git 37 44 38 45 # Cleanup
Note:
See TracChangeset
for help on using the changeset viewer.