Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
7bb1d7cd
Commit
7bb1d7cd
authored
Jul 14, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
introduce is_one_girar_name
parent
edc7436f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
git
share/eterbuild/functions/git
+12
-0
get_remote_git_list.sh
tests/get_remote_git_list.sh
+9
-0
No files found.
share/eterbuild/functions/git
View file @
7bb1d7cd
...
...
@@ -48,6 +48,18 @@ is_girar_name()
echo
"
$1
"
|
grep
-q
"^git
\.
"
}
is_one_girar_name
()
{
local
i
local
RES
=
""
for
i
in
$@
;
do
[
-z
"
$RES
"
]
||
return
is_girar_name
"
$i
"
||
return
RES
=
"
$i
"
done
[
-n
"
$RES
"
]
}
_list_git_package
()
{
while
[
-n
"
$1
"
]
;
do
...
...
tests/get_remote_git_list.sh
View file @
7bb1d7cd
...
...
@@ -4,3 +4,12 @@
load_mod git
get_remote_git_list
#REMOTELIST=$(get_remote_git_list)
#if [ "$(echo $REMOTELIST | cut -d" " -f1)" = "$REMOTELIST" ] ; then
# echo "diag a one name"
#fi
if
is_one_girar_name
"
$(
get_remote_git_list
)
"
;
then
echo
"diag as one name"
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment