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
8fbcf212
Commit
8fbcf212
authored
Mar 17, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbs: fix build on sisyphus
parent
e97a8e33
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
rpmbs
bin/rpmbs
+1
-3
branch
share/eterbuild/functions/branch
+5
-0
No files found.
bin/rpmbs
View file @
8fbcf212
...
...
@@ -251,9 +251,7 @@ if [ -n "$UPLOADNOW" ] && is_gear $SPECDIR ; then
echo
"Prepare to publish to
$GIRARHOST
..."
cd
$SPECDIR
||
fatal
# select needed branch
if
[
-n
"
$BINARYREPO
"
]
;
then
set_usebranch
if
set_usebranch
;
then
checkout_usebranch
||
fatal
fi
...
...
share/eterbuild/functions/branch
View file @
8fbcf212
...
...
@@ -11,6 +11,9 @@ set_usebranch()
#[ -f "$LISTNAMES" ] || fatal "Run with one spec inside gear repo"
USEBRANCH
=
$BINARYREPO
[
-n
"
$USEBRANCH
"
]
||
return
1
[
"
$USEBRANCH
"
=
"sisyphus"
]
&&
return
1
# TODO: drop support of it
# support for obsoleted M?? names
OLDBRANCH
=
$MDISTR
...
...
@@ -21,6 +24,8 @@ set_usebranch()
USEBRANCH
=
$OLDBRANCH
fi
fi
return
0
}
# used: USEBRANCH OLDBRANCH BPSPEC
...
...
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