Changeset c0d5090 for scripts/patch/bash-patch.sh
- Timestamp:
- Jan 8, 2009, 3:56:42 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:
- d57287f4
- Parents:
- 318408a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/patch/bash-patch.sh
r318408a rc0d5090 80 80 # Cleanup Directory 81 81 # 82 cd /usr/src 83 cd bash-${VERSION} 84 for file in $(find * -name *~); do 85 rm -f ${file} 86 done 87 for file in $(find * -name *.orig); do 88 rm -f ${file} 82 for dir in $(find * -type d); do 83 cd /usr/src/bash-${VERSION}/${dir} 84 for file in $(find * -name *~); do 85 rm -f ${file} 86 done 87 for file in $(find * -name *.orig); do 88 rm -f ${file} 89 done 89 90 done 90 91 … … 92 93 # 93 94 cd /usr/src 94 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > bash-${VERSION}- fixes-x.patch95 echo "Date: `date +%m-%d-%Y`" >> bash-${VERSION}- fixes-x.patch96 echo "Initial Package Version: ${VERSION}" >> bash-${VERSION}- fixes-x.patch97 echo "Origin: Upstream" >> bash-${VERSION}- fixes-x.patch98 echo "Upstream Status: Applied" >> bash-${VERSION}- fixes-x.patch99 echo "Description: Contains all upstream patches up to ${VERSION}-${FILES}" >> bash-${VERSION}- fixes-x.patch95 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > bash-${VERSION}-branch_update-x.patch 96 echo "Date: `date +%m-%d-%Y`" >> bash-${VERSION}-branch_update-x.patch 97 echo "Initial Package Version: ${VERSION}" >> bash-${VERSION}-branch_update-x.patch 98 echo "Origin: Upstream" >> bash-${VERSION}-branch_update-x.patch 99 echo "Upstream Status: Applied" >> bash-${VERSION}-branch_update-x.patch 100 echo "Description: Contains all upstream patches up to ${VERSION}-${FILES}" >> bash-${VERSION}-branch_update-x.patch 100 101 if [ -n "${SKIPPED}" ]; then 101 echo " The following patches were skipped" >> bash-${VERSION}- fixes-x.patch102 echo " ${SKIPPED}" >> bash-${VERSION}- fixes-x.patch102 echo " The following patches were skipped" >> bash-${VERSION}-branch_update-x.patch 103 echo " ${SKIPPED}" >> bash-${VERSION}-branch_update-x.patch 103 104 fi 104 echo "" >> bash-${VERSION}- fixes-x.patch105 diff -Naur bash-${VERSION}.orig bash-${VERSION} >> bash-${VERSION}- fixes-x.patch106 echo "Created /usr/src/bash-${VERSION}- fixes-x.patch."105 echo "" >> bash-${VERSION}-branch_update-x.patch 106 diff -Naur bash-${VERSION}.orig bash-${VERSION} >> bash-${VERSION}-branch_update-x.patch 107 echo "Created /usr/src/bash-${VERSION}-branch_update-x.patch." 107 108
Note: See TracChangeset
for help on using the changeset viewer.