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
55f50694
Commit
55f50694
authored
Nov 08, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgs: use git relates stuffs only if is_gear, cd before using gear-remotes*
parent
35572bad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
rpmgs
bin/rpmgs
+4
-3
No files found.
bin/rpmgs
View file @
55f50694
...
...
@@ -536,9 +536,8 @@ do
# or it is a reason to retrieve the latest version from spec?
# firstly try modern autoupdate if version is empty
if
[
-z
"
$GSSETVERSION
"
]
&&
$EPMCMD
assure gear-rules-verify perl-Gear-Rules
;
then
if
is_gear
$SPECDIR
&&
[
-z
"
$GSSETVERSION
"
]
&&
$EPMCMD
assure gear-rules-verify perl-Gear-Rules
;
then
# need for gear-rules-verify
# TODO: why we have changed dir to a spec placement before?
cd
$(
get_root_git_dir
)
docmd gear-rules-verify
...
...
@@ -586,7 +585,9 @@ fi
# TODO: some duplication
# secondly check for new manner use separated upstream branch
# Note: gear-uupdate don't want work if package version is already changed
if
[
-z
"
$DOWNLOADSOME
"
]
&&
[
-s
$(
get_root_git_dir
)
/.gear/upstream/remotes
]
&&
$EPMCMD
assure gear-remotes-restore perl-Gear-Remotes
;
then
if
is_gear
$SPECDIR
&&
[
-z
"
$DOWNLOADSOME
"
]
&&
[
-s
$(
get_root_git_dir
)
/.gear/upstream/remotes
]
&&
$EPMCMD
assure gear-remotes-restore perl-Gear-Remotes
;
then
# need for gear-rules-verify
cd
$(
get_root_git_dir
)
$EPMCMD
assure gear-commit gear
$EPMCMD
assure gear-uupdate
docmd gear-remotes-restore
...
...
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