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
497e0528
Commit
497e0528
authored
Apr 22, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix small bugs
parent
e19e49d2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
8 deletions
+14
-8
myhsh
bin/myhsh
+0
-1
rpmbs
bin/rpmbs
+7
-1
rpmbsh
bin/rpmbsh
+7
-6
No files found.
bin/myhsh
View file @
497e0528
...
...
@@ -149,7 +149,6 @@ do
echog
"########## Build of
`
basename
$i
`
is done in hasher
$MENV
#############"
echo
LISTBUILTSH
=
"
$LISTBUILTSH$i
"
LASTPACKAGE
=
$i
done
echo
...
...
bin/rpmbs
View file @
497e0528
...
...
@@ -255,7 +255,13 @@ if [ -n "$UPLOADNOW" ] && is_gear $SPECDIR ; then
PROJECTNAME
=
$(
get_repo_name
)
check_gear_and_tag
||
fatal
"Can't make tag"
if
!
check_gear_and_tag
;
then
if
[
"
$PREPARETASK
"
=
"internal"
]
;
then
docmd ssh
$GEARHOST
task
rm
$TASKNUMBER
fi
fatal
"Can't make tag"
fi
TAG
=
$(
get_last_tag
)
# TODO: add check for repo (as in rpmgp) and run ginit if needed
...
...
bin/rpmbsh
View file @
497e0528
...
...
@@ -40,7 +40,7 @@ phelp()
echog
" -b REPONAME binary repository name (4.1, p5, t6 and so on)"
}
while
getopts
:
ih
tb: opt
;
do
while
getopts
:
hi
tb: opt
;
do
case
$opt
in
h
)
phelp
;
exit
0
;;
t
)
COMMIT
=
"--commit"
;;
...
...
@@ -86,9 +86,10 @@ pack_src_rpm $COMMIT $(drop_args "$LISTRPMARGS" s u c l f a A)
# TODO: use gear --hasher directly, drop myhsh
#if rhas "$LISTNAMES" spec ; then
# set_specdir $LISTNAMES
#fi
# use later for is_gear
if
rhas
"
$LISTNAMES
"
.spec
;
then
set_specdir
$LISTNAMES
fi
# build in hasher
docmd
time
$ETERBUILDBIN
/myhsh
$MENVARG
$(
drop_args
"
$LISTRPMARGS
"
f u a A
)
$LISTBUILT
...
...
@@ -96,7 +97,7 @@ RESULT=$?
# if ok and requested test install, do it
if
[
"
$RESULT
"
=
"0"
]
&&
[
-n
"
$INSTALLPKG
"
]
;
then
BINPACKAGES
=
$(
$ETERBUILDBIN
/myhsh
-b
$LISTBUILT
)
||
fatal
"Can't get binary packages for
$LISTBUILT
"
BINPACKAGES
=
$(
$ETERBUILDBIN
/myhsh
-b
$LISTBUILT
| estrlist reg_exclude debuginfo -
)
||
fatal
"Can't get binary packages for
$LISTBUILT
"
echo
echog
"List of binary packages:"
...
...
@@ -113,7 +114,7 @@ fi
# remove generated src.rpm
for
i
in
$LISTBUILT
;
do
estrlist has
$i
$LISTNAMES
||
rm
-f
$i
estrlist has
$i
$LISTNAMES
||
rm
-f
v
$i
done
date
...
...
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