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
fi
cd "$CCOLLECT_INTERVALS"
cd "${CCOLLECT_SOURCES}"
for interval in *; do
eval int_$interval=$(cat $interval);
eval echo $interval: \$int_$interval;
while [ "$#" -gt 0 ]; do
source="$1"; shift
fsource="${CCOLLECT_SOURCES}/${source}"
du "${fsource}/"* "${fsource}"
done