diff options
author | asami <asami@FreeBSD.org> | 2000-08-04 15:20:52 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 2000-08-04 15:20:52 +0800 |
commit | a00e1702591573f7968cc62dbd3f9c47c0e93b34 (patch) | |
tree | 09cc4782bbd9d0b648bf7d67ca10bb8a84e82c84 /Tools/portbuild | |
parent | 46afaa00d2cb6f949e97df3d24ae68a4e195c738 (diff) | |
download | freebsd-ports-gnome-a00e1702591573f7968cc62dbd3f9c47c0e93b34.tar.gz freebsd-ports-gnome-a00e1702591573f7968cc62dbd3f9c47c0e93b34.tar.zst freebsd-ports-gnome-a00e1702591573f7968cc62dbd3f9c47c0e93b34.zip |
Make this run on ${portbuild}/bak/distfiles rather than
${portbuild}/distfiles so it can be interleaved with the next run of
build.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-x | Tools/portbuild/scripts/cpdistfiles | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/Tools/portbuild/scripts/cpdistfiles b/Tools/portbuild/scripts/cpdistfiles index 84e69ef64afc..b5d7a785bf79 100755 --- a/Tools/portbuild/scripts/cpdistfiles +++ b/Tools/portbuild/scripts/cpdistfiles @@ -13,10 +13,20 @@ cpdistfile () { tar -C distfiles -cf - $1 | ssh $rhost -l $ruser tar -C $rdir -xvf - } -cd $pb/distfiles -find . -type f | sort | xargs md5 > ../md5-2 -cd $pb -for i in $(diff md5 md5-2 | grep '^>' | sed -e 's^.*(\./^^' -e 's/).*//'); do +echo "================================================" +echo "md5 generation started at $(date)" + +cd $pb/bak/distfiles +find . -type f | sort | xargs md5 > ../../md5-2 + +echo "================================================" +echo "copying started at $(date)" + +cd $pb/bak +for i in $(diff ../md5 ../md5-2 | grep '^>' | sed -e 's^.*(\./^^' -e 's/).*//'); do cpdistfile $i done -mv md5-2 md5 +mv ../md5-2 ../md5 + +echo "================================================" +echo "all done at $(date)" |