[PC-BSD Commits] r3251 - pbibuild/pbibuilder/scripts
svn at pcbsd.org
svn at pcbsd.org
Wed Jan 14 07:28:12 PST 2009
Author: kris
Date: 2009-01-14 07:28:12 -0800 (Wed, 14 Jan 2009)
New Revision: 3251
Modified:
pbibuild/pbibuilder/scripts/3.makepbi.sh
Log:
Also, copy the .mdate to mdate in the outgoing directory, so that we can easily see when it was created
Modified: pbibuild/pbibuilder/scripts/3.makepbi.sh
===================================================================
--- pbibuild/pbibuilder/scripts/3.makepbi.sh 2009-01-14 15:24:06 UTC (rev 3250)
+++ pbibuild/pbibuilder/scripts/3.makepbi.sh 2009-01-14 15:28:12 UTC (rev 3251)
@@ -266,21 +266,10 @@
# The build was successful, go ahead and move the file
echo "SUCCESS! PBI Creation finished for ${module}" >>${BLOG}
- # Clean up any old PBI's in the outdir
- #count=0
- #for i in `ls -t ${OUTDIR}/*.pbi`
- #do
- # count="`expr $count + 1`"
- # if [ "${count}" -gt "1" ]
- # then
- # echo "Purging old PBI ${i}" >> ${BLOG}
- # rm ${i}
- # fi
- #done
-
rm ${OUTDIR}/*.pbi
ls ${PDESTDIR}/root/*.pbi >> ${BLOG} 2>>${BLOG}
mv ${PDESTDIR}/root/*.pbi ${OUTDIR}/ 2>>${BLOG}
+ cp ${PDESTDIR}/${PBIDIR}/.mdate ${OUTDIR}/mdate 2>>${BLOG}
# The build is finished, go ahead and make the .built and .oldbk files
echo "`md5 ${PDESTDIR}/${PBIPORT}/Makefile | cut -d \" \" -f 4`" >${OUTDIR}/.built
More information about the Commits
mailing list