X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=setup.sh;fp=setup.sh;h=74da7c167cf08c0a2c749730134b2a39df1b7ba2;hp=50df24d8ccc5223a5adb6f80b58f6641cc7abc86;hb=d4c457c604ae65ee454d8c7464ff4a49211c483f;hpb=8be2b1483db3489180e0e44f6a466b5c9d70d75e diff --git a/setup.sh b/setup.sh index 50df24d..74da7c1 100755 --- a/setup.sh +++ b/setup.sh @@ -61,8 +61,8 @@ if [ "$#" -eq "0" ]; then # 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