24dda16d93
* Don't run this script in a loop, run once only.
15 lines
245 B
Bash
Executable File
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
|