1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

Removed the per-group config file loop

This commit is contained in:
Michiel Scholten
2014-07-19 16:43:15 +02:00
parent 6878d117c0
commit 030dc90c67

View File

@@ -37,13 +37,6 @@ for LINE in "${LINES[@]}"; do
exit 1
fi
if [ -e ~/.git_group_$GRP ]; then
saveIFS="$IFS"
IFS=$'\n'
REPOS=($(<~/.git_group_$GRP))
IFS="$saveIFS"
for REPO in "${REPOS[@]}"; do
cd $WORKSPACE/$GRP
REPODIR=$(basename "$REPO")
#extension="${filename##*.}"
@@ -61,8 +54,4 @@ for LINE in "${LINES[@]}"; do
echo -e "[\e[33mC\e[0m] $GRP/$REPODIR"
git clone --quiet $REPO
fi
done
else
echo -e "[\e[31mX\e[0m] Group config file ~/.git_group_$GRP not found"
fi
done