updated git_pull_make_repos.sh

pull/2/head
Hari Sekhon 4 years ago
parent b3bd85777a
commit e89bf3d02f

@ -34,7 +34,7 @@ if [ -z "${NO_TEST:-}" ]; then
opts="$opts test" opts="$opts test"
fi fi
repofile="$srcdir/setup/repolist.txt" repofile="$srcdir/setup/repos.txt"
if [ $# -gt 0 ]; then if [ $# -gt 0 ]; then
repolist="$*" repolist="$*"
@ -47,7 +47,7 @@ else
repolist="$(sed 's/#.*//; /^[[:space:]]*$/d' < "$repofile")" repolist="$(sed 's/#.*//; /^[[:space:]]*$/d' < "$repofile")"
else else
echo "fetching repos from GitHub repo list" echo "fetching repos from GitHub repo list"
repolist="$(curl -sSL https://raw.githubusercontent.com/HariSekhon/bash-tools/master/setup/repolist.txt | sed 's/#.*//')" repolist="$(curl -sSL https://raw.githubusercontent.com/HariSekhon/bash-tools/master/setup/repos.txt | sed 's/#.*//')"
fi fi
fi fi

Loading…
Cancel
Save