Annotation of openbsd/OpenBSDTorrents/regen.sh, Revision 1.3
1.1 andrew 1: #!/bin/sh
2:
1.3 ! andrew 3: BASEDIR=/home/OpenBSDTorrents
! 4: TORRENTDIR=/home/torrentsync/torrents
! 5:
! 6: cd ${BASEDIR}
! 7:
! 8: if [[ $1 != skip ]]; then
! 9: echo ${BASEDIR}/MakeTorrents.pl $*
! 10: ${BASEDIR}/MakeTorrents.pl $*
! 11: fi
! 12:
! 13: echo ${BASEDIR}/CurrentTorrents.pl
! 14: ${BASEDIR}/CurrentTorrents.pl
! 15:
! 16: if [ $? != 253 ]; then
! 17: echo lftp -f ${BASEDIR}/lftp.script
! 18: lftp -f ${TORRENTDIR}/lftp.script
! 19:
! 20: echo ${BASEDIR}/ServerTorrents.pl
! 21: ${BASEDIR}/ServerTorrents.pl
! 22: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>