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
17e2349e
Commit
17e2349e
authored
Dec 23, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gpush: fix check arg with girar name
parent
1b036240
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
gpush
bin/gpush
+4
-3
No files found.
bin/gpush
View file @
17e2349e
...
@@ -78,7 +78,10 @@ tune_girarlist()
...
@@ -78,7 +78,10 @@ tune_girarlist()
REMOTELIST
=
"
$(
get_remote_git_list
)
"
REMOTELIST
=
"
$(
get_remote_git_list
)
"
[
-n
"
$NEWGIRAR
"
]
||
NEWGIRAR
=
"
$1
"
if
[
-z
"
$NEWGIRAR
"
]
;
then
NEWGIRAR
=
"
$1
"
shift
fi
# If run with gear as param
# If run with gear as param
if
[
-n
"
$NEWGIRAR
"
]
;
then
if
[
-n
"
$NEWGIRAR
"
]
;
then
...
@@ -88,7 +91,6 @@ if [ -n "$NEWGIRAR" ] ; then
...
@@ -88,7 +91,6 @@ if [ -n "$NEWGIRAR" ] ; then
[
-n
"
$REMOTELIST
"
]
||
ginit
$NEWGIRAR
[
-n
"
$REMOTELIST
"
]
||
ginit
$NEWGIRAR
fi
fi
LISTGIRARHOST
=
"
$NEWGIRAR
"
LISTGIRARHOST
=
"
$NEWGIRAR
"
shift
else
else
# use one target if it one
# use one target if it one
if
is_one_girar_name
"
$REMOTELIST
"
;
then
if
is_one_girar_name
"
$REMOTELIST
"
;
then
...
@@ -102,7 +104,6 @@ else
...
@@ -102,7 +104,6 @@ else
LISTGIRARHOST
=
"
$GIRARHOST
$(
do_exclude_list
"
$GIRARHOST
"
"
$REMOTELIST
"
)
"
LISTGIRARHOST
=
"
$GIRARHOST
$(
do_exclude_list
"
$GIRARHOST
"
"
$REMOTELIST
"
)
"
fi
fi
# if set it can be tag or branch name
# if set it can be tag or branch name
if
[
-n
"
$1
"
]
;
then
if
[
-n
"
$1
"
]
;
then
CURRENTBRANCH
=
"
$1
"
CURRENTBRANCH
=
"
$1
"
...
...
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