freebsd-ports/Tools/portbuild/scripts/dodistfiles
Kris Kennaway 24dda16d93 Catch up to changes on bento:
* Don't run this script in a loop, run once only.
2002-02-11 03:00:32 +00:00

15 lines
245 B
Bash
Executable File

#!/bin/sh
distdir=$1
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