From fe531efa679079e2cc4ea47bd4618c4555c61015 Mon Sep 17 00:00:00 2001 From: linimon Date: Thu, 12 Nov 2009 23:48:36 +0000 Subject: Make more robust. --- Tools/portbuild/scripts/mkbindist | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Tools/portbuild') 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 -- cgit