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
04ccb908
Commit
04ccb908
authored
Jul 30, 2011
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
5ec21645
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
gacl
bin/gacl
+1
-1
gpull
bin/gpull
+2
-2
No files found.
bin/gacl
View file @
04ccb908
...
@@ -79,7 +79,7 @@ case "$COMMAND" in
...
@@ -79,7 +79,7 @@ case "$COMMAND" in
"add"
|
"del"
)
"add"
|
"del"
)
[
-n
"
$PARAM
"
]
||
fatal
"Param for command is missed"
[
-n
"
$PARAM
"
]
||
fatal
"Param for command is missed"
echo
"
$GIRARHOST
:
$BINARYREPO
ACL for
$PROJECTNAME
:
$COMMAND
$PARAM
..."
echo
"
$GIRARHOST
:
$BINARYREPO
ACL for
$PROJECTNAME
:
$COMMAND
$PARAM
..."
ssh
$GIRARHOST
acl
$BINARYREPO
$PROJECTNAME
$COMMAND
$PARAM
docmd
ssh
$GIRARHOST
acl
$BINARYREPO
$PROJECTNAME
$COMMAND
$PARAM
;;
;;
"show"
)
"show"
)
echo
-n
"
$GIRARHOST
:
$BINARYREPO
ACL for "
echo
-n
"
$GIRARHOST
:
$BINARYREPO
ACL for "
...
...
bin/gpull
View file @
04ccb908
...
@@ -29,7 +29,7 @@ if [ "$1" = "-a" ] ; then
...
@@ -29,7 +29,7 @@ if [ "$1" = "-a" ] ; then
fi
fi
if
[
"
$1
"
=
"-c"
]
;
then
if
[
"
$1
"
=
"-c"
]
;
then
CHECK
ONLY
=
1
CHECK
RESULT
=
1
shift
shift
fi
fi
...
@@ -76,7 +76,7 @@ REMOTEBRANCH="$2"
...
@@ -76,7 +76,7 @@ REMOTEBRANCH="$2"
# use current branch name as default
# use current branch name as default
[
-n
"
$REMOTEBRANCH
"
]
||
REMOTEBRANCH
=
$(
get_current_branch
)
[
-n
"
$REMOTEBRANCH
"
]
||
REMOTEBRANCH
=
$(
get_current_branch
)
if
[
-n
"
$CHECK
ONLY
"
]
;
then
if
[
-n
"
$CHECK
RESULT
"
]
;
then
# Quiet in check mode
# Quiet in check mode
#showcmd git pull --rebase $REPO $REMOTEBRANCH
#showcmd git pull --rebase $REPO $REMOTEBRANCH
UPTODATEres
=
`
git pull
--rebase
$REPO
$REMOTEBRANCH
2>&1
`
UPTODATEres
=
`
git pull
--rebase
$REPO
$REMOTEBRANCH
2>&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