svn commit: r283746 - user/gjb/thermite
Glen Barber
gjb at FreeBSD.org
Fri May 29 16:58:10 UTC 2015
Author: gjb
Date: Fri May 29 16:58:09 2015
New Revision: 283746
URL: https://svnweb.freebsd.org/changeset/base/283746
Log:
Re-sync with the RE repository:
- Fix the source path for rsync(1) to the FTP staging area.
- Send rsync(1) output to the log file.
Sponsored by: The FreeBSD Foundation
Modified:
user/gjb/thermite/thermite.sh
Modified: user/gjb/thermite/thermite.sh
==============================================================================
--- user/gjb/thermite/thermite.sh Fri May 29 16:26:08 2015 (r283745)
+++ user/gjb/thermite/thermite.sh Fri May 29 16:58:09 2015 (r283746)
@@ -269,11 +269,20 @@ ftp_stage() {
return 0
fi
- mkdir -p "${ftpdir}/${type}"
- rsync -avH ${CHROOTDIR}/R/ftp-stage/${type}/* \
- ${ftpdir}/${type}/
+ case ${type} in
+ release)
+ _type="releases"
+ ;;
+ *)
+ _type="snapshots"
+ ;;
+ esac
+
+ mkdir -p "${ftpdir}/${_type}"
+ rsync -avH ${CHROOTDIR}/R/ftp-stage/${_type}/* \
+ ${ftpdir}/${_type}/ >> ${logdir}/${_build}.log 2>&1
unset BOARDNAME BUILDDATE EMBEDDEDBUILD SVNREVISION
- unset _build _conf
+ unset _build _conf _type
return 0
}
More information about the svn-src-user
mailing list