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
1221d55d
Commit
1221d55d
authored
Jan 14, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbsh: cleanup code
parent
80f6f6b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
rpmbsh
bin/rpmbsh
+7
-10
No files found.
bin/rpmbsh
View file @
1221d55d
...
...
@@ -74,7 +74,6 @@ mygetopts $LISTARGS
# If fail, we already has correct changelog
add_changelog_helper
"- new version"
$LISTNAMES
#echo ${LISTRPMARGS/\-m/} @ ${LISTRPMARGS} @${LISTNAMES}
# We do not not pass args for myhsh here...
# FIXME:
pack_src_rpm
$COMMIT
$(
echo
$LISTRPMARGS
|
sed
-e
"s|-[suUic]||g"
)
...
...
@@ -100,9 +99,8 @@ if [ -n "$REMOTEBUILD" ] ; then
echo
"-------------------------------"
test
"
$RESULT
"
=
"0"
&&
echog
"It was remote build at
$BUILDSERVER
"
||
echog
"There is error during remote build at
$BUILDSERVER
"
else
cd
$RPMTOPDIR
/SRPMS
&&
time
$ETERBUILDBIN
/myhsh
$MENVARG
$LISTRPMARGS
$LISTBUILT
time
$ETERBUILDBIN
/myhsh
$MENVARG
$LISTRPMARGS
$LISTBUILT
RESULT
=
$?
cd
-
date
echo
"-------------------------------"
...
...
@@ -110,12 +108,11 @@ fi
# make src.rpm if build OK and we have options for rpmbs
if
[
"
$RESULT
"
=
"0"
]
&&
[
-n
"
$LISTRPMARGS
"
]
;
then
if
is_gear
$SPECDIR
;
then
$ETERBUILDBIN
/rpmbs
$GIRARHOST
$MENVARG
$LISTRPMARGS
$LISTNAMES
else
$ETERBUILDBIN
/rpmbs
$GIRARHOST
$MENVARG
$LISTRPMARGS
$LISTBUILT
fi
if
[
!
"
$RESULT
"
=
"0"
]
||
[
-z
"
$LISTRPMARGS
"
]
;
then
exit
$RESULT
fi
exit
$RESULT
is_gear
$SPECDIR
&&
TSKLIST
=
$LISTNAMES
||
TSKLIST
=
$LISTBUILT
$ETERBUILDBIN
/rpmbs
$GIRARHOST
$MENVARG
$LISTRPMARGS
$TSKLIST
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