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
20de844d
Commit
20de844d
authored
Apr 16, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do git reset after build with gear --commit
parent
6ea326b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
build
share/eterbuild/functions/build
+3
-0
No files found.
share/eterbuild/functions/build
View file @
20de844d
...
...
@@ -18,10 +18,12 @@ uni_rpmbuild()
local
THRPARAM
=
"--quiet"
local
FOURPARAM
=
"--quiet"
local
COMMIT
=
""
local
COMMANDAFTER
=
""
if
[
"
$1
"
=
"--commit"
]
;
then
shift
COMMIT
=
"--commit"
COMMANDAFTER
=
"git reset"
fi
local
SPECNAME
=
"
$1
"
...
...
@@ -61,6 +63,7 @@ uni_rpmbuild()
# build package without MENV checking
if
true
||
[
"
$MENV
"
=
"SS"
]
;
then
$NICE
$GEAR
$COMMIT
$GEARRULES
--rpmbuild
--
$RPMBUILD
"
$ONEPARAM
"
"
$TWOPARAM
"
"
$THRPARAM
"
"
$FOURPARAM
"
$@
||
RET
=
$?
[
-z
"
$COMMANDAFTER
"
]
||
$COMMANDAFTER
else
fatal
"Build backported src.rpm from git is unsupported now"
# build src.rpm via hasher (on ALT)
...
...
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