root/swish_website/Make_Daily.sh

Revision 2026, 0.6 kB (checked in by karpet, 3 months ago)

enable this script over the hardcoded call in crontb

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 #!/bin/sh
2
3 DIR=/opt/swish
4 SWISH_DAILY=$DIR/swish_website/bin/swish-daily.pl
5
6
7 ############################################
8 # build the 2.4 branch
9 $SWISH_DAILY \
10     --topdir=$DIR/swish_daily_build \
11     --tardir=$DIR/swish-daily || exit 1;
12
13
14 ############################################
15 # build the 2.6 branch (which makes 2.7.0 now)
16 # --no-latest  avoids making latest.tar.gz      symlink.
17 # --no-symlink avoids making latest_swish_build symlink
18 $SWISH_DAILY \
19     --svnco='svn co http://svn.swish-e.org/swish-e/branches/2.6/' \
20     --no-latest \
21     --no-symlink \
22     --topdir=$DIR/swish_daily_build \
23     --tardir=$DIR/swish-daily || exit 1;
24
Note: See TracBrowser for help on using the browser.