From d4c457c604ae65ee454d8c7464ff4a49211c483f Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 3 Jun 2009 16:06:41 +0200 Subject: [PATCH] setup.sh: Remove unnecessary check. This was introduced in fbc6b0059f5345e8974bd713dc041a4e39e18c73 when there was a static list used for the projects. With find this is no longer necessary. --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.44.1