# Skip this directory to prevent an infinite loop.
[ "$project" = "./.git" ] && continue
- [ -d "$project" ] && (echo "running setup.sh in '$project'";
- cd "$project/.."; ./setup.sh > /dev/null)
+ echo "running setup.sh in '$project'"
+ ( cd "$project/.."; ./setup.sh > /dev/null )
done
# Create git repository if necessary and/or additional remotes and fetch them.
elif [ "$#" -ge "2" ]; then