cleanup (in testing)

This commit is contained in:
Nico Schottelius 2007-08-17 15:05:45 +02:00
parent 6bd8393d3d
commit 7558d88a3d
1 changed files with 5 additions and 4 deletions

View File

@ -23,9 +23,10 @@ if [ ! -d "$CCOLLECT_SOURCES" ]; then
exit 1 exit 1
fi fi
cd "$CCOLLECT_INTERVALS" cd "${CCOLLECT_SOURCES}"
for interval in *; do while [ "$#" -gt 0 ]; do
eval int_$interval=$(cat $interval); source="$1"; shift
eval echo $interval: \$int_$interval; fsource="${CCOLLECT_SOURCES}/${source}"
du "${fsource}/"* "${fsource}"
done done