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
7c109184
Commit
7c109184
authored
Sep 27, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmrb: add -n to skip install built package in hasher
parent
35b7d52d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
rpmrb
bin/rpmrb
+9
-3
No files found.
bin/rpmrb
View file @
7c109184
...
...
@@ -13,7 +13,8 @@ load_mod spec git
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
echog
"rpmrb (Re Build) - update spec to vermajor.verminor version, build %rel release"
echog
"Usage: rpmrb [GIRAR] [spec] [vermajor][.verminor] [rel]"
echog
"Usage: rpmrb [GIRAR] [-n] [spec] [vermajor][.verminor] [rel]"
echog
" -n - skip install built package in hasher for testing purposes"
echo
"
$HELP_GIRAR
"
echog
"Example:"
echog
"
$
rpmrb [name.spec] 22.6 alt2"
...
...
@@ -21,13 +22,18 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
exit
0
fi
INSTALLINHASHER
=
'-i'
parse_r
()
{
VER
=
$1
case
"
$2
"
in
-n
)
INSTALLINHASHER
=
''
;;
-
*
)
fatal
"
No options are supported
. See --help."
fatal
"
Unsupported option "
$2
"
. See --help."
;;
*
)
esac
...
...
@@ -65,4 +71,4 @@ for SPEC in $LISTNAMES ; do
cd
-
>
/dev/null
done
docmd
$ETERBUILDBIN
/rpmbsh
$GIRARHOST
-i
-u
$LISTNAMES
docmd
$ETERBUILDBIN
/rpmbsh
$GIRARHOST
$INSTALLINHASHER
-u
$LISTNAMES
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