summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-02-11 03:00:32 +0000
committerkris <kris@FreeBSD.org>2002-02-11 03:00:32 +0000
commitde2476b8fd01002dae4b92bb510cd68386b87e45 (patch)
tree86e44303c4b470d39a3ec4e22f833efd1e96dd8f /Tools
parent6eb73dc3ade46d4f422e619b3c109ad7a2a3adec (diff)
downloadFreeBSD-ports-de2476b8fd01002dae4b92bb510cd68386b87e45.zip
FreeBSD-ports-de2476b8fd01002dae4b92bb510cd68386b87e45.tar.gz
Catch up to changes on bento:
* Don't run this script in a loop, run once only.
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 3108b15..dc80fe9 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
OpenPOWER on IntegriCloud