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
d1d346a9
Commit
d1d346a9
authored
Apr 08, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgs: small fixes
parent
c3c41e41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
rpmgs
bin/rpmgs
+4
-2
No files found.
bin/rpmgs
View file @
d1d346a9
...
...
@@ -406,6 +406,7 @@ update_predownloaded()
# hack for subdir??
#CURNAME=$BASENAME
info
"Preparing sources in
$PSM
for mode
$MODE
..."
# TODO: add support for git
rm
-rf
$PSM
if
[
-n
"
$GETSOURCEGIT
"
]
;
then
...
...
@@ -422,6 +423,7 @@ update_predownloaded()
[
-n
"
$VERBOSE
"
]
&&
RUNHOOK
=
"sh -x"
if
[
-s
$RGD
/.gear/predownloaded-preinstall-hook
]
;
then
echo
info
"Detected .gear/predownloaded-preinstall-hook, running it ..."
$RUNHOOK
$RGD
/.gear/predownloaded-preinstall-hook
$MODE
$VERSION
COMMITMSG
=
"update predownloaded-
$MODE
with a hook script"
...
...
@@ -566,7 +568,7 @@ update_predownloaded()
cd
-
>
/dev/null
docmd git add
-f
$PSM
docmd git commit
$PSM
-m
"
$COMMITMSG
"
docmd git commit
-m
"
$COMMITMSG
"
}
...
...
@@ -641,7 +643,7 @@ if is_gear $SPECDIR && [ -z "$GSSETVERSION" ] && $EPMCMD assure gear-rules-verif
update_predownloaded production
DOWNLOADSOME
=
1
else
warning
"there are no .watch files in (get_root_git_dir)/.gear, skip rpm-uscan"
warning
"there are no .watch files in
$
(
get_root_git_dir
)
/.gear, skip rpm-uscan"
fi
elif
$GEAR_RULES_VERIFY
|
grep
-Eq
"Ready for external VCS update"
;
then
#[ -n "$GSSETVERSION" ] && warning "we will ignore version and update to the latest version from watch file"
...
...
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