-if installed git; then
- # Older Git versions don't support --patience.
- PATIENCE=
- if git diff --patience >/dev/null 2>&1; then
- PATIENCE=--patience
- fi
-
- generate gitconfig .m4 m4 \
- -DPATIENCE="$PATIENCE" \
- -DOS=`os` \
- -DPWD="`pwd`"
- link gitconfig ~/.gitconfig
-fi
-
-if installed tig; then
- link tigrc ~/.tigrc
-fi
-
-if installed hg; then
- link hgrc ~/.hgrc
-fi
-
-if installed cvs; then
- link cvsrc ~/.cvsrc
-fi
+ printf 'running setup.sh in "%s"\n' "$project"
+ ( cd "$project" && ./setup.sh >/dev/null ) || {
+ printf '%s/setup.sh failed\n' "$project" >&2
+ exit 1
+ }
+done