aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2009-11-13 07:48:36 +0800
committerlinimon <linimon@FreeBSD.org>2009-11-13 07:48:36 +0800
commitfe531efa679079e2cc4ea47bd4618c4555c61015 (patch)
treeea40154fe67ca400188cc3ed12d1f24487d3f0ed /Tools/portbuild
parentb3e00225eab8cbe52b2129348c78cb3b1858fcbe (diff)
downloadfreebsd-ports-gnome-fe531efa679079e2cc4ea47bd4618c4555c61015.tar.gz
freebsd-ports-gnome-fe531efa679079e2cc4ea47bd4618c4555c61015.tar.zst
freebsd-ports-gnome-fe531efa679079e2cc4ea47bd4618c4555c61015.zip
Make more robust.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/mkbindist5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/mkbindist b/Tools/portbuild/scripts/mkbindist
index 1bac5fbd97b9..8326c6250906 100755
--- a/Tools/portbuild/scripts/mkbindist
+++ b/Tools/portbuild/scripts/mkbindist
@@ -63,7 +63,10 @@ fi
if [ -s "${here}/bindist/dirlist" ]; then
cat "${here}/bindist/dirlist" | xargs mkdir -p
fi
-cd ${here}/bindist/files; find -dx . | cpio -dump ${tmpdir}
+# XXX MCL seems to be obsoleted by individual files in clients/?
+if [ -d ${here}/bindist/files ]; do
+ cd ${here}/bindist/files; find -dx . | cpio -dump ${tmpdir}
+fi
# Post-processing of installed world
date '+%Y%m%d' > ${tmpdir}/var/db/port.mkversion