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
57fb224a
Commit
57fb224a
authored
Oct 18, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
myhsh: add -b BINARYREPO support
parent
d2752c41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
myhsh
bin/myhsh
+3
-2
No files found.
bin/myhsh
View file @
57fb224a
...
...
@@ -12,7 +12,7 @@ load_mod hasher check
WITHSTUFF
=
"--with-stuff"
#############################
Usage
=
"Usage:
$name
[-
i -c -l
] src.rpm..."
Usage
=
"Usage:
$name
[-
l -r -c -l -p
] src.rpm..."
function
mygetopts
()
{
name
=
${
0
##*/
}
...
...
@@ -28,13 +28,14 @@ phelp()
echog
" -r remove packages from test hasher"
echog
" -p print binary packages by built list"
echog
" -l lazy cleanup (before build, not after)"
echog
" -b REPONAME binary repository name (p6, t6, c7, p8 and so on)"
}
while
getopts
:hbclr opt
;
do
case
$opt
in
h
)
phelp
;
exit
0
;;
p
)
PRINTBINPKG
=
1
;;
b
)
BINARYREPONAME
=
$OPTARG
;;
r
)
REMOVEPKG
=
1
;;
l
)
HASHERARG
=
"
$HASHERARG
--lazy-cleanup"
;;
c
)
WITHSTUFF
=
"--without-stuff"
;;
...
...
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