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
92e8649c
Commit
92e8649c
authored
Dec 06, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbs: use cp instead mv for correct group owner (forced by sgid)
parent
b10ab0f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
rpmbs
bin/rpmbs
+8
-2
No files found.
bin/rpmbs
View file @
92e8649c
...
...
@@ -174,7 +174,10 @@ rpmbs_copying_built()
docmd scp
$LISTBUILT
$ETERDESTSRPM
&&
docmd
rm
-fv
$LISTBUILT
||
echog
"Error during copying"
else
mkdir
-p
$ETERDESTSRPM
||
echog
"Error mkdir
$ETERDESTSRPM
"
chmod
ug+rw
$LISTBUILT
# Lav disable 06.12.2012: use umask instead
#chmod ug+rw $LISTBUILT
# Publish tarball if target dir is exist
if
[
-d
"
$ETERDESTSRPM
/tarball"
]
;
then
echog
"There is tarball dir exists. Extract tarball for other build system compatibility."
...
...
@@ -182,7 +185,10 @@ rpmbs_copying_built()
extract_tarball_to_dest
$i
$ETERDESTSRPM
/tarball
done
fi
mv
-fv
$LISTBUILT
$ETERDESTSRPM
||
echog
"Error during copying"
# Note: use cp for apply directory group (forced by sgid on dir)
cp
-fv
$LISTBUILT
$ETERDESTSRPM
||
echog
"Error during copying"
rm
-f
$LISTBUILT
# FIXME: update only for published file
#make_md5sum "$ETERDESTSRPM"
fi
...
...
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