aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-02-11 03:00:32 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-02-11 03:00:32 +0000
commit24dda16d937acaa7dfcca0ec0d588eeef44836cf (patch)
tree8ab89c8c382565b61a8fcb9c7e113ad28f8124d4 /Tools
parent5320b2628b88cd4a1228e2189414e0466f1fbd2a (diff)
downloadports-24dda16d937acaa7dfcca0ec0d588eeef44836cf.tar.gz
ports-24dda16d937acaa7dfcca0ec0d588eeef44836cf.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/dodistfiles25
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