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
304e6652
Commit
304e6652
authored
Jan 12, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbsh: fix remote src.rpm build from rpmbph
parent
baf2553c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
rpmbsh
bin/rpmbsh
+4
-4
No files found.
bin/rpmbsh
View file @
304e6652
...
@@ -85,16 +85,16 @@ set_specdir $LISTNAMES
...
@@ -85,16 +85,16 @@ set_specdir $LISTNAMES
if
[
-n
"
$REMOTEBUILD
"
]
;
then
if
[
-n
"
$REMOTEBUILD
"
]
;
then
check_key
check_key
test
-n
"
$BUILDSERVER
"
||
fatal
"Please set BUILDSERVER in config file"
test
-n
"
$BUILDSERVER
"
||
fatal
"Please set BUILDSERVER in config file"
# FIXME - get via etersoft-build-utils
test
-n
"
$REMOTERPMDIR
"
||
REMOTERPMDIR
=
`
ssh
$BUILDSERVER
echo
$HOME
`
/RPM
test
-n
"
$REMOTERPMDIR
"
||
REMOTERPMDIR
=
`
ssh
$BUILDSERVER
echo
$HOME
`
/RPM
LISTSRPM
=
"
$(
echo
$LISTBUILT
| xargs
-n1
basename
)
"
echo
echo
echog
"############ Build at build server '
$BUILDSERVER
' (with
$LISTRPMARGS
options) ############"
echog
"############ Build at build server '
$BUILDSERVER
' (with
$LISTRPMARGS
options) ############"
echo
echo
echog
"==== Copying to build server ====="
echog
"==== Copying to build server ====="
# FIXME: do not change dir? Why LISTBUILT is not full path?
#cd $RPMTOPDIR/SRPMS
rsync
-vay
--partial
--progress
--checksum
\
rsync
-vay
--partial
--progress
--checksum
\
-e
ssh
$LISTBUILT
$BUILDSERVER
:
$REMOTERPMDIR
/SRPMS/
||
fatal
"Error with rsync"
-e
ssh
$LISTBUILT
$BUILDSERVER
:
$REMOTERPMDIR
/SRPMS/
||
fatal
"Error with rsync"
ssh
-t
$BUILDSERVER
"cd
$REMOTERPMDIR
/SRPMS && time myhsh
$MENVARG
$LISTRPMARGS
$LIST
BUILT
"
ssh
-t
$BUILDSERVER
"cd
$REMOTERPMDIR
/SRPMS && time myhsh
$MENVARG
$LISTRPMARGS
$LIST
SRPM
"
RESULT
=
$?
RESULT
=
$?
date
date
echo
"-------------------------------"
echo
"-------------------------------"
...
...
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