3 # Runs setup.sh in all configuration directories. Must be run in the main
4 # configuration directory.
7 for path in `find . -name setup.sh -type f`; do
8 # Skip this directory to prevent an infinite loop.
9 [ "$path" = "./setup.sh" ] && continue
10 # Skip non executable setup.sh files as an easy way to deactivate one.
11 [ ! -x "$path" ] && continue
13 project=`echo "$path" | sed 's|/setup.sh$||'`
15 echo "running setup.sh in '$project'"
16 ( cd "$project"; ./setup.sh > /dev/null )