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
7ad74d22
Commit
7ad74d22
authored
May 20, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgs: use case insensitive search for Url
parent
3db0c455
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rpmgs
bin/rpmgs
+1
-1
No files found.
bin/rpmgs
View file @
7ad74d22
...
@@ -189,7 +189,7 @@ function get_source_vcs()
...
@@ -189,7 +189,7 @@ function get_source_vcs()
local
vcs
=
"
$(
grep
"^VCS:"
$SPEC
|
head
-n1
|
sed
-e
's|VCS:[[:space:]]*||'
)
"
local
vcs
=
"
$(
grep
"^VCS:"
$SPEC
|
head
-n1
|
sed
-e
's|VCS:[[:space:]]*||'
)
"
if
[
-z
"
$vcs
"
]
;
then
if
[
-z
"
$vcs
"
]
;
then
# try hack with Url:
# try hack with Url:
local
vcs
=
"
$(
grep
"^Url:"
$SPEC
|
head
-n1
|
sed
-e
's|Url:[[:space:]]*||
'
)
"
local
vcs
=
"
$(
grep
-i
"^Url:"
$SPEC
|
head
-n1
|
sed
-e
's|Url:[[:space:]]*||I
'
)
"
[
-z
"
$vcs
"
]
&&
return
1
[
-z
"
$vcs
"
]
&&
return
1
GETSOURCEGIT
=
"
$vcs
"
GETSOURCEGIT
=
"
$vcs
"
echo
"
$vcs
"
|
grep
-q
"
\.
git$"
||
GETSOURCEGIT
=
"
$vcs
.git"
echo
"
$vcs
"
|
grep
-q
"
\.
git$"
||
GETSOURCEGIT
=
"
$vcs
.git"
...
...
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