X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=setup.sh;fp=setup.sh;h=cf7eb54fe5cf5afe3ab45b405754f0202d000909;hp=e16c7772e4574314874e7f4c78739ccc81639892;hb=d833e9f69422ab8702f877886bc30324a7787d3a;hpb=44b49211da2749d45e358448c9768cb671142b93 diff --git a/setup.sh b/setup.sh index e16c777..cf7eb54 100755 --- a/setup.sh +++ b/setup.sh @@ -28,5 +28,10 @@ for path in */setup.sh; do project=`echo "$path" | sed 's|/setup.sh$||'` echo "running setup.sh in '$project'" - ( cd "$project"; ./setup.sh >/dev/null ) + if ( cd "$project"; ./setup.sh >/dev/null ); then + : + else + echo "$project/setup.sh failed" >&2 + exit 1 + fi done