Commit 89029524 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add get_remote_git_list function and test for it

parent eecfb9af
......@@ -30,6 +30,17 @@ get_root_git_dir()
pwd
}
get_remote_git_list()
{
local i
for i in $(git remote | uniq) ; do
if is_girar_name $i ; then
echo $i
fi
done
}
# Check if $1 like git.alt or git.eter, git.something
is_girar_name()
{
......
#!/bin/sh
. `dirname $0`/../share/eterbuild/functions/common
load_mod git
get_remote_git_list
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment