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
119bfe84
Commit
119bfe84
authored
Aug 20, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbs: fix set branch name in common task
parent
4f6c5584
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
rpmbs
bin/rpmbs
+4
-3
No files found.
bin/rpmbs
View file @
119bfe84
...
@@ -33,7 +33,7 @@ PREPARETASK=
...
@@ -33,7 +33,7 @@ PREPARETASK=
TASKNUMBER
=
TASKNUMBER
=
#############################
#############################
Usage
=
"Usage:
$name
[GIRAR] [-s|-t|-u|-a|-A|-c] [-o -z -n -p --nodeps] [-k [TARGETDIR]] [spec or src.rpm]..."
Usage
=
"Usage:
$name
[GIRAR] [-
b REPONAME] [-p POCKET] [-
s|-t|-u|-a|-A|-c] [-o -z -n -p --nodeps] [-k [TARGETDIR]] [spec or src.rpm]..."
function
mygetopts
()
function
mygetopts
()
{
{
name
=
${
0
##*/
}
name
=
${
0
##*/
}
...
@@ -235,8 +235,9 @@ if [ -n "$UPLOADNOW" ] && is_gear $SPECDIR ; then
...
@@ -235,8 +235,9 @@ if [ -n "$UPLOADNOW" ] && is_gear $SPECDIR ; then
# if more then one spec, use common task
# if more then one spec, use common task
if
[
$NUMSPECS
-gt
1
]
&&
[
-z
"
$PREPARETASK
"
]
;
then
if
[
$NUMSPECS
-gt
1
]
&&
[
-z
"
$PREPARETASK
"
]
;
then
PREPARETASK
=
internal
PREPARETASK
=
internal
showcmd ssh
$GEARHOST
task new
# FIXME: no pocket support on git.eter task new?
TASKNUMBER
=
$(
ssh
$GEARHOST
task new |
head
-n1
)
||
fatal
showcmd ssh
$GEARHOST
task new
$BINARYREPO
TASKNUMBER
=
$(
ssh
$GEARHOST
task new
$BINARYREPO
|
head
-n1
)
||
fatal
[
-n
"
$TASKNUMBER
"
]
||
fatal
"Can't get task number from
$GEARHOST
"
[
-n
"
$TASKNUMBER
"
]
||
fatal
"Can't get task number from
$GEARHOST
"
fi
fi
...
...
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