diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-02-11 03:00:32 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-02-11 03:00:32 +0000 |
commit | 24dda16d937acaa7dfcca0ec0d588eeef44836cf (patch) | |
tree | 8ab89c8c382565b61a8fcb9c7e113ad28f8124d4 /Tools | |
parent | 5320b2628b88cd4a1228e2189414e0466f1fbd2a (diff) | |
download | ports-24dda16d937acaa7dfcca0ec0d588eeef44836cf.tar.gz ports-24dda16d937acaa7dfcca0ec0d588eeef44836cf.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/dodistfiles | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/Tools/portbuild/scripts/dodistfiles b/Tools/portbuild/scripts/dodistfiles index 3108b1531732..dc80fe95e874 100755 --- a/Tools/portbuild/scripts/dodistfiles +++ b/Tools/portbuild/scripts/dodistfiles @@ -1,17 +1,14 @@ #!/bin/sh distdir=$1 -while true; do - if cd ${distdir}/.pbtmp >/dev/null 2>&1; then - set * - while [ $# -gt 0 ]; do - if [ -e $1/.done ]; then - rm -f $1/.done - tar -C $1 -cf - . | tar -C ${distdir} -xpf - - rm -rf $1 - fi - shift - done - fi - sleep 600 -done +if cd ${distdir}/.pbtmp >/dev/null 2>&1; then + set * + while [ $# -gt 0 ]; do + if [ -e $1/.done ]; then + rm -f $1/.done + tar -C $1 -cf - . | tar -C ${distdir} -xpf - + rm -rf $1 + fi + shift + done +fi |