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
d4060c66
Commit
d4060c66
authored
Dec 25, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbph: fix using BINARYREPONAME
parent
134c09f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
rpmbph
bin/rpmbph
+6
-2
No files found.
bin/rpmbph
View file @
d4060c66
...
...
@@ -77,7 +77,11 @@ test -z "$LISTNAMES" && fatal "file not found in '$@'"
if
[
"
$PKGVENDOR
"
=
"alt"
]
;
then
# FIXME: where we was detected MENV?
MDISTR
=
$MENV
[
-n
"
$BINARYREPONAME
"
]
&&
MDISTR
=
$(
get_altdistr_mod
$BINARYREPONAME
)
if
[
-n
"
$BINARYREPONAME
"
]
;
then
MDISTR
=
$(
get_altdistr_mod
$BINARYREPONAME
)
else
BINARYREPONAME
=
$(
get_altdistr_version
$MDISTR
)
fi
[
"
$MDISTR
"
=
"SS"
]
&&
fatal
"It makes no sense to backport to Sisyphus (You need to try with -b
$EXAMPLEALTDISTRVERSION
)."
# override by defined target version
DISTRVERSION
=
$(
get_altdistr_version
$MDISTR
)
...
...
@@ -100,7 +104,7 @@ if [ "$PKGVENDOR" = "alt" ] && is_gear $SPECDIR ; then
[
-f
"
$LISTNAMES
"
]
||
fatal
"Run with one spec inside gear repo"
# set branch name
USEBRANCH
=
$
(
get_altdistr_version
$MDISTR
)
USEBRANCH
=
$
BINARYREPONAME
SPEC
=
$LISTNAMES
BPSPEC
=
$SPEC
.
$USEBRANCH
...
...
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