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
b3a22207
Commit
b3a22207
authored
Nov 14, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
24f12733
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
rpmbsh
bin/rpmbsh
+2
-2
rpmgs
bin/rpmgs
+1
-1
No files found.
bin/rpmbsh
View file @
b3a22207
...
...
@@ -129,9 +129,9 @@ if [ ! "$RESULT" = "0" ] || [ -z "$RPMBSARGS" ]; then
fi
if
rhas
"
$LISTNAMES
"
.spec
;
then
is_gear
$
SPECDIR
&&
TSKLIST
=
$LISTNAMES
is_gear
$
LISTNAMES
&&
TSKLIST
=
"
$LISTNAMES
"
else
TSKLIST
=
$LISTBUILT
TSKLIST
=
"
$LISTBUILT
"
fi
docmd
$ETERBUILDBIN
/rpmbs
$GIRARHOST
-b
$BINARYREPO
$RPMBSARGS
$TSKLIST
...
...
bin/rpmgs
View file @
b3a22207
...
...
@@ -103,7 +103,7 @@ function source_ext()
[
"
$SN
"
=
"0"
]
&&
SN
=
"
$SN
\?
"
if
grep
-q
"# Source
$SN
-
$2
:"
"
$1
"
;
then
local
TMPSPEC
=
$1
.tmpurl
local
NEWSOURCE
=
$(
grep
"# Source
$SN
-
$2
:"
"
$1
"
|
sed
-e
"s/.*
$2
:[
\t
]*//g"
)
local
NEWSOURCE
=
$(
grep
"# Source
$SN
-
$2
:"
"
$1
"
|
sed
-e
"s/.*
$2
:[
\t
]*//g"
|
tail
-n1
)
test
-n
"
$NEWSOURCE
"
||
fatal
"Can't extract URL from Source
$SN
-
$2
"
# Fake replace for correct subst variables
NEWSOURCE
=
"
$(
echo
"
$NEWSOURCE
"
|
sed
-e
's|\&|\\&|g'
)
"
...
...
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