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
77e8576f
Commit
77e8576f
authored
Feb 09, 2011
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbs/rpmbsh: move src.rpm to ETERDESTSRPM instead copying
parent
88920d6b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
rpmbs
bin/rpmbs
+4
-4
rpmbsh
bin/rpmbsh
+1
-1
No files found.
bin/rpmbs
View file @
77e8576f
...
@@ -53,7 +53,7 @@ phelp()
...
@@ -53,7 +53,7 @@ phelp()
echog
" -b REPONAME - binary repository name (4.1, 5.0, 5.1 and so on)"
echog
" -b REPONAME - binary repository name (4.1, 5.0, 5.1 and so on)"
echog
" -c - only sign package(s) with checking"
echog
" -c - only sign package(s) with checking"
echog
" -f - force operation (overwrite tag)"
echog
" -f - force operation (overwrite tag)"
echog
" -s - sign package(s)
and copy it to upload dir (ETERDESTSRPM
)"
echog
" -s - sign package(s)
(and move it to dir ETERDESTSRPM if defined
)"
echog
" -t - set tag with sign"
echog
" -t - set tag with sign"
echog
" -n - do not check with sisyphus_check before upload"
echog
" -n - do not check with sisyphus_check before upload"
echog
" -o - create nosrc.rpm package"
echog
" -o - create nosrc.rpm package"
...
@@ -149,13 +149,13 @@ extract_tarball_to_dest()
...
@@ -149,13 +149,13 @@ extract_tarball_to_dest()
rpmbs_copying_built
()
rpmbs_copying_built
()
{
{
[
-n
"
$ETERDESTSRPM
"
]
||
return
0
[
-n
"
$ETERDESTSRPM
"
]
||
return
0
echog
"
Copy
ing package(s) in
\$
ETERDESTSRPM"
echog
"
Mov
ing package(s) in
\$
ETERDESTSRPM"
if
is_ssh_target
"
$ETERDESTSRPM
"
;
then
if
is_ssh_target
"
$ETERDESTSRPM
"
;
then
scp
$LISTBUILT
$ETERDESTSRPM
||
echog
"Error during copying"
scp
$LISTBUILT
$ETERDESTSRPM
&&
rm
-fv
$LISTBUILT
||
echog
"Error during copying"
else
else
mkdir
-p
$ETERDESTSRPM
||
echog
"Error mkdir
$ETERDESTSRPM
"
mkdir
-p
$ETERDESTSRPM
||
echog
"Error mkdir
$ETERDESTSRPM
"
chmod
ug+rw
$LISTBUILT
chmod
ug+rw
$LISTBUILT
cp
-fv
$LISTBUILT
$ETERDESTSRPM
||
echog
"Error during copying"
mv
-fv
$LISTBUILT
$ETERDESTSRPM
||
echog
"Error during copying"
make_md5sum
"
$ETERDESTSRPM
"
make_md5sum
"
$ETERDESTSRPM
"
# Publish tarball if target dir is exist
# Publish tarball if target dir is exist
if
[
-d
"
$ETERDESTSRPM
/tarball"
]
;
then
if
[
-d
"
$ETERDESTSRPM
/tarball"
]
;
then
...
...
bin/rpmbsh
View file @
77e8576f
...
@@ -32,7 +32,7 @@ phelp()
...
@@ -32,7 +32,7 @@ phelp()
echog
" -i - install built packages in test hasher (via loginhsh -t)"
echog
" -i - install built packages in test hasher (via loginhsh -t)"
echog
"Ext. options:"
echog
"Ext. options:"
echog
" -c - build without stuff (previous built packages)"
echog
" -c - build without stuff (previous built packages)"
echog
" -s - sign
and and copy to upload dir (ETERDESTSRPM
) after build"
echog
" -s - sign
(and move to dir ETERDESTSRPM if defined
) after build"
echog
" -t - make temporary commit before build (rpmbb like behavior)"
echog
" -t - make temporary commit before build (rpmbb like behavior)"
echog
" -l - lazy cleanup (clean before build, not after)"
echog
" -l - lazy cleanup (clean before build, not after)"
echog
" -f - force tag set (see rpmbs --help)"
echog
" -f - force tag set (see rpmbs --help)"
...
...
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