Subversion Repositories SvarDOS

Rev

Rev 850 | Rev 1699 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 850 Rev 854
Line 31... Line 31...
31
 
31
 
32
# refresh the local copy of the repo and rebuild packages index
32
# refresh the local copy of the repo and rebuild packages index
33
svn up "$SVNREPODIR"
33
svn up "$SVNREPODIR"
34
php "$SVNREPODIR/buildidx/buildidx.php" "$SVNREPODIR/packages/" > "$SVNREPODIR/packages/_buildidx.log"
34
php "$SVNREPODIR/buildidx/buildidx.php" "$SVNREPODIR/packages/" > "$SVNREPODIR/packages/_buildidx.log"
35
 
35
 
-
 
36
 
36
# do I need to rebuild the install images as well?
37
# do I need to rebuild the install images as well?
37
if [ "$NEEDTOREBUILD" -ne 0 ] ; then
38
if [ "$NEEDTOREBUILD" -ne 0 ] ; then
-
 
39
  CURDATE=`date +%Y%m%d`
-
 
40
  DESTDIR="website/download/$CURDATE"
38
  cd "$SVNREPODIR"
41
  cd "$SVNREPODIR"
-
 
42
  rm -rf "$DESTDIR"
-
 
43
  mkdir "$DESTDIR"
39
  ./build.sh "website/download/" > "website/download/0000_lastbuild.log" 2>&1
44
  ./build.sh "$DESTDIR" "$CURDATE" > "$DESTDIR/build.log" 2>&1
40
fi
45
fi
41
 
46
 
42
exit 0
47
exit 0