unity/scripts/respin.sh | 8 ++++++++ 1 file changed, 8 insertions(+) New commits: commit 90a7e721f700cde260226952b9e1f8fc9cd22af6 Merge: efb74df... 90f53e3... Author: Jeroen van Meeuwen (Fedora Unity) <kana...@fedoraunity.org> Date: Sat Apr 25 19:47:51 2009 +0200
Merge branch 'master' of ssh://git.fedorahosted.org/git/revisor commit efb74dff78811316465b12eb529a99209725da92 Author: Jeroen van Meeuwen (Fedora Unity) <kana...@fedoraunity.org> Date: Sat Apr 25 19:42:39 2009 +0200 Ensure we're only doing one set of spins at a time (compare datestamp to STARTDATE) diff --git a/unity/scripts/respin.sh b/unity/scripts/respin.sh index 28868ba..ebb79ec 100755 --- a/unity/scripts/respin.sh +++ b/unity/scripts/respin.sh @@ -53,9 +53,13 @@ GIT_REVISOR=git://git.kanarip.com/revisor # Where do you store your torrents? export TORRENTDIR=/data/bittorrent/ + # What is the base directory for all revisor products? export REVISORDIR=/data/revisor/ +# The start date of this run +export STARTDATE=`date +%Y%m%d` + # See if we have a proxy. If so, use it. [ `host proxy >/dev/null 2>&1; echo $?` -eq 0 -a -z "${HTTP_PROXY}" ] && export HTTP_PROXY=proxy:3128 @@ -276,6 +280,8 @@ for version in ${VERSIONS}; do # And today is... ? datestamp=`date +'%Y%m%d'` + [ "$STARTDATE" != "$datestamp" ] && continue + # Let's make sure we remove the entire directory before we attempt a respin. # The log files that were there get confusing if you are currently composing, # you know ;-) @@ -389,6 +395,8 @@ for version in ${VERSIONS}; do datestamp=`date +'%Y%m%d'` + [ "$STARTDATE" != "$datestamp" ] && continue + # Let's make sure we remove the entire directory before we attempt a respin. # The log files get confusing, you know ;-) # _______________________________________________ revisor-devel mailing list revisor-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/revisor-devel