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
7c8572e0
Commit
7c8572e0
authored
Feb 02, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add support for Source0:, add check for empty source name detected
parent
9c9303fe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
spec
share/eterbuild/functions/spec
+2
-0
No files found.
share/eterbuild/functions/spec
View file @
7c8572e0
...
@@ -89,6 +89,8 @@ get_version()
...
@@ -89,6 +89,8 @@ get_version()
get_tarballname
()
get_tarballname
()
{
{
local
SOURCE
=
$(
eval_spec
$1
| get_var
"Source
$2
"
)
local
SOURCE
=
$(
eval_spec
$1
| get_var
"Source
$2
"
)
[
-n
"
$SOURCE
"
]
||
SOURCE
=
$(
eval_spec
$1
| get_var
"Source0"
)
[
-n
"
$SOURCE
"
]
||
fatal
"Can't grep Source
$2
from spec
$1
"
basename
$(
basename
$SOURCE
|
sed
-e
"s|-
$(
get_version
$1
)
.*||g"
)
.tar
basename
$(
basename
$SOURCE
|
sed
-e
"s|-
$(
get_version
$1
)
.*||g"
)
.tar
}
}
...
...
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