ccollect/tools/config-pre-0.4-to-0.4.sh
Nico Schottelius 83e8262e47 Helper scripts for ccollect 0.4
Migrating to ccollect 0.4 is supported by the helper scripts.
2006-04-27 10:01:59 +02:00

18 lines
341 B
Bash
Executable file

#!/bin/sh
# Nico Schottelius
# Do Apr 27 09:13:26 CEST 2006
#
if [ $# -ne 1 ]; then
echo "$0: ccollect-configuration directory"
echo ""
echo " Fix pre 0.4 configuration directories to match 0.4 style"
echo ""
exit 23
fi
script=$(echo $0 | sed 's/\.sh/.sub.sh/')
find "$1" -type d -name intervalls -exec "$script" {} \;