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
e97a8e33
Commit
e97a8e33
authored
Mar 17, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small cleanup
parent
e2e7c3f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
rpmgs
bin/rpmgs
+4
-1
No files found.
bin/rpmgs
View file @
e97a8e33
...
...
@@ -192,8 +192,11 @@ commit_tarball()
# FIXME: hack to unpack to correct place.
[
$(
basename
`
pwd
`
)
=
".gear"
]
&&
cd
..
# hack: try detect dir for unpacking
test
-d
"
$CURNAME
"
||
CURNAME
=
$(
get_tarballname
"
$spec
"
)
test
-d
"
$CURNAME
"
||
CURNAME
=
$BASENAME
if
[
-d
"
$RPMSOURCEDIR
"
]
&&
[
-f
"
$RPMSOURCEDIR
/
$FTB
"
]
;
then
gear_update_from_tarball
"
$RPMSOURCEDIR
/
$FTB
"
"
$CURNAME
"
$FORCEDOWNLOAD
rm
-fv
"
$RPMSOURCEDIR
/
$FTB
"
...
...
@@ -224,7 +227,7 @@ update_post_git_submodules()
rm
-rfv
$PSM
/
*
# echo * do not catch .names really
cp
-a
$(
echo
*
|
grep
-v
-E
"(.gear|.git)"
)
$PSM
/
||
fatal
cp
-a
$(
echo
*
|
grep
-v
-E
"(.gear|.git)"
)
$PSM
/
||
fatal
#"
find
$PSM
-name
".git"
-type
f
-delete
-print
find
$PSM
-name
".gitsubmodules"
-type
f
-delete
-print
docmd git add
-f
$PSM
...
...
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