]> git.saurik.com Git - wxWidgets.git/commitdiff
generate MD5SUM files for nightly builds (patch 1252331)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 6 Aug 2005 21:14:02 +0000 (21:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 6 Aug 2005 21:14:02 +0000 (21:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/script/rebuild-makefiles.sh

index 64576bf2f34c1663dbeca84a105150a75382ed35..8e66a00ee7161857d2a9afcd274bcb8b93d3b672 100644 (file)
@@ -70,10 +70,12 @@ copy_files ()
 find ${FTPDIR}/CVS_HEAD/files -type f -name wx-cvs\* -mtime +6 | xargs rm -rf
 cp  ${WORKDIR}/archives/wx-cvs-* ${FTPDIR}/CVS_HEAD/files
 
-rm ${FTPDIR}/CVS_HEAD/wx*
+rm ${FTPDIR}/CVS_HEAD/wx* ${FTPDIR}/CVS_HEAD/MD5SUM
+##there must be an easier way of doing these links...
 for f in `find ${FTPDIR}/CVS_HEAD/files -type f -name wx-cvs\* -mmin -601` ; do
        ln -s $f `echo $f | sed -e "s/-${CURDATE}//" | sed -e "s|/files||" `
 done
+md5sum ${FTPDIR}/CVS_HEAD/wx* > ${FTPDIR}/CVS_HEAD/MD5SUM
 ## make sure updated at is really last
 sleep 10
 echo cvs checkout done at  `date -u` > ${FTPDIR}/CVS_HEAD/updated_at.txt
@@ -82,11 +84,12 @@ echo cvs checkout done at  `date -u` > ${FTPDIR}/CVS_HEAD/updated_at.txt
 find ${FTPDIR}/CVS_Makefiles/files -type f -name wx-mk\* -mtime +3 | xargs rm -rf
 cp  ${WORKDIR}/archives/wx-mk-* ${FTPDIR}/CVS_Makefiles/files
 
-rm ${FTPDIR}/CVS_Makefiles/wx*
-##there musrt be an easier way of doing these links...
+rm ${FTPDIR}/CVS_Makefiles/wx* ${FTPDIR}/CVS_Makefiles/MD5SUM
+##there must be an easier way of doing these links...
 for f in `find ${FTPDIR}/CVS_Makefiles/files -type f -name wx-mk\* -mmin -601` ; do
        ln -s $f `echo $f | sed -e "s/-${CURDATE}//" | sed -e "s|/files||" `
 done
+md5sum ${FTPDIR}/CVS_Makefiles/wx* > ${FTPDIR}/CVS_Makefiles/MD5SUM
 sleep 10
 echo CVS Makefiles generated from bakefiles last updated at `date -u` > ${FTPDIR}/CVS_Makefiles/updated_at.txt
 
@@ -95,11 +98,12 @@ echo CVS Makefiles generated from bakefiles last updated at `date -u` > ${FTPDIR
 find ${FTPDIR}/CVS_Docs/files -type f -name wx-do\* -mtime +3 | xargs rm -rf
 cp  ${WORKDIR}/archives/wx-docs-* ${FTPDIR}/CVS_Docs/files
 
-rm ${FTPDIR}/CVS_Docs/wx*
-##there musrt be an easier way of doing these links...
+rm ${FTPDIR}/CVS_Docs/wx* ${FTPDIR}/CVS_Docs/MD5SUM
+##there must be an easier way of doing these links...
 for f in `find ${FTPDIR}/CVS_Docs/files -type f -name wx-do\* -mmin -601` ; do
        ln -s $f `echo $f | sed -e "s/-${CURDATE}//" | sed -e "s|/files||" `
 done
+md5sum ${FTPDIR}/CVS_Docs/wx* > ${FTPDIR}/CVS_Docs/MD5SUM
 sleep 10
 echo CVS Documentation generated from bakefiles last updated at `date -u` > ${FTPDIR}/CVS_Docs/updated_at.txt
 }