blob: a93c134874524b91cadcf26099a7d11edf578747 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
< list sort -R | while read -r repo
do
echo "$repo"
dir="$(echo $line | sed -e "s|.*/||")"
if ! [ -d "$dir" ]
then
git clone --depth 1 "$repo"
# Disk space isn't free.
#else
# cd "$dir"
# git pull
# cd ..
fi
done
|