Changeset 29f6db3 for scripts/patch/ncurses-patch.sh
- Timestamp:
- Aug 15, 2009, 6:36:56 PM (15 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 4648865
- Parents:
- 842cd58
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/patch/ncurses-patch.sh
r842cd58 r29f6db3 34 34 # 35 35 cd ~/tmp 36 wget http://patches.cross-lfs.org/dev/ --no-remove-listing 37 PATCH_NUM=$(cat index.html | grep ncurses | grep "${VERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 38 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 36 wget http://svn.cross-lfs.org/svn/repos/patches/ncurses/ --no-remove-listing 37 for 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) 39 if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then 40 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 41 break 42 fi 43 if [ "${PATCH_NUM}" != "${num}" ]; then 44 PATCH_NUM=$(expr ${num}) 45 break 46 fi 47 done 39 48 rm -f index.html 40 49
Note:
See TracChangeset
for help on using the changeset viewer.