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
e08882bd
Commit
e08882bd
authored
Jul 14, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some fixes for gpush
parent
aa22fc5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
gpush
bin/gpush
+10
-3
No files found.
bin/gpush
View file @
e08882bd
...
...
@@ -24,12 +24,21 @@ if [ "$1" = "-a" ] || [ "$1" = "--all" ] ; then
shift
fi
REMOTELIST
=
"
$(
get_remote_git_list
)
"
if
is_girar_name
$1
;
then
GIRARHOST
=
$1
OVERRIDEGIRARHOST
=
$1
shift
fi
# disable use one target if it one
if
false
&&
is_one_girar_name
"
$REMOTELIST
"
;
then
GIRARHOST
=
"
$REMOTELIST
"
OVERRIDEGIRARHOST
=
$GIRARHOST
shift
fi
# use as project name
#if [ -n "$1" ] ; then
# PROJECTNAME=$1
...
...
@@ -83,12 +92,10 @@ push_to_remote()
}
REMOTELIST
=
"
$(
get_remote_git_list
)
"
# if remote list is empty, do ginit
[
-n
"
$REMOTELIST
"
]
||
ginit
$GIRARHOST
LISTGIRARHOST
=
"
$GIRARHOST
$(
do_exclude_list
$REMOTELIST
$GIRARHOST
)
"
LISTGIRARHOST
=
"
$GIRARHOST
$(
do_exclude_list
"
$GIRARHOST
"
"
$REMOTELIST
"
)
"
[
-n
"
$OVERRIDEGIRARHOST
"
]
&&
LISTGIRARHOST
=
$OVERRIDEGIRARHOST
for
i
in
$LISTGIRARHOST
;
do
push_to_remote
$i
...
...
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