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
80d2c9df
Commit
80d2c9df
authored
Nov 22, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbsh: for -w run myhsh with -a
parent
e3e6e0c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
rpmbsh
bin/rpmbsh
+3
-2
No files found.
bin/rpmbsh
View file @
80d2c9df
...
...
@@ -49,7 +49,7 @@ while getopts :hieufclstwb: opt; do
h
)
phelp
;
exit
0
;;
t
)
COMMIT
=
"--commit"
;;
u|f|c|e|s|l
)
PASSEDARGS
=
"
$PASSEDARGS
-
$opt
"
;;
w
)
THOROUGH
=
1
;;
w
)
THOROUGH
=
"-a"
;;
i
)
INSTALLPKG
=
1
;;
b
)
BINARYREPONAME
=
$OPTARG
;;
+?
)
echog
"
$name
: options should not be preceded by a '+'."
1>&2
;
exit
2
;;
...
...
@@ -90,8 +90,9 @@ fi
# FIXME: не обрабатывает два пропускаемых вместе параметра
pack_src_rpm
$COMMIT
$(
drop_args
"
$LISTRPMARGS
"
s u c e l f a A
)
# FIXME: we can't make pkg.tar from non gear repo, so just run myhsh with -a
# build in hasher
docmd
time
$ETERBUILDBIN
/myhsh
$MENVARG
$(
drop_args
"
$LISTRPMARGS
"
f u a A
)
$LISTBUILT
docmd
time
$ETERBUILDBIN
/myhsh
$MENVARG
$
THOROUGH
$
(
drop_args
"
$LISTRPMARGS
"
f u a A
)
$LISTBUILT
RESULT
=
$?
# if ok and test install is requested, do it
...
...
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