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
9db03bfa
Commit
9db03bfa
authored
Sep 16, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gacl: update description and add -b REPO param support
parent
274b5a7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
gacl
bin/gacl
+14
-6
No files found.
bin/gacl
View file @
9db03bfa
...
...
@@ -15,15 +15,22 @@ mygetopts()
{
if
[
"
$1
"
=
"-h"
]
;
then
echo
"gacl - acl control for gear repo in
$GIRARHOST
"
echo
"Use: gacl [GEAR] [-
$CURRENTBRANCHNAME
] [package] command [params]"
echo
"Examples:"
echo
" gacl [-
$CURRENTBRANCHNAME
] package add newuser"
echo
" gacl [-
$CURRENTBRANCHNAME
] package del newuser"
echo
" gacl [-
$CURRENTBRANCHNAME
] package show"
echog
"gacl - acl control for gear repo in
$GIRARHOST
"
echog
"Use: gacl [GIRAR] [-
$CURRENTBRANCHNAME
] | [-b REPONAME] [package] command [params]"
echog
"Options:"
echog
" -b REPONAME - binary repository name (4.1, 5.0, 5.1 and so on)"
echog
"Examples:"
echog
" gacl [-
$CURRENTBRANCHNAME
] package add newuser"
echog
" gacl [-
$CURRENTBRANCHNAME
] package del newuser"
echog
" gacl [-
$CURRENTBRANCHNAME
] package show"
exit
0
fi
if
[
"
$1
"
=
"-b"
]
;
then
BINARYREPONAME
=
"
$2
"
shift
2
fi
# FIXME
# if two or one param only, try detect
if
[
-z
"
$3
"
]
||
[
-z
"
$2
"
]
;
then
...
...
@@ -47,6 +54,7 @@ mygetopts()
#parse_cmd_pre_spec "$@"
parse_cmd_pre
"
$@
"
mygetopts
$LISTARGS
# see functions/alt:set_binaryrepo() for BINARYREPONAME
set_binaryrepo
$MENV
[
-n
"
$PROJECTNAME
"
]
||
fatal
"Project name is missed"
...
...
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