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
0c18547a
You need to sign in or sign up before continuing.
Commit
0c18547a
authored
Jul 05, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbs: add ssh target support for ETERDESTSRPM
parent
734f5b86
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
+15
-9
rpmbs
bin/rpmbs
+15
-9
No files found.
bin/rpmbs
View file @
0c18547a
...
...
@@ -121,6 +121,19 @@ check_gear_and_tag()
fi
}
rpmbs_copying_built
()
{
if
[
-n
"
$ETERDESTSRPM
"
]
;
then
echog
"Copying package(s) in
\$
ETERDESTSRPM"
if
echo
"
$ETERDESTSRPM
"
|
grep
-q
":"
;
then
# if ssh target
scp
$LISTBUILT
$ETERDESTSRPM
||
echog
"Error during copying"
else
mkdir
-p
$ETERDESTSRPM
||
echog
"Error mkdir
$ETERDESTSRPM
"
cp
-fv
$LISTBUILT
$ETERDESTSRPM
||
echog
"Error during copying"
fi
fi
}
parse_cmd_pre
"
$@
"
# quotes brokes option handling
...
...
@@ -268,9 +281,7 @@ if [ -n "$SIGN" ]; then
else
test
-z
"
$ETERDESTSRPM
"
&&
ETERDESTSRPM
=
$UPLOADDIR
${
MENVARG
/-/.
}
mkdir
-p
$ETERDESTSRPM
||
echog
"Error mkdir
$ETERDESTSRPM
"
echog
"Copying package(s) in
\$
ETERDESTSRPM"
cp
-fv
$LISTBUILT
$ETERDESTSRPM
||
echog
"Error during copying"
rpmbs_copying_built
fi
echog
"Removing buildroot after upload..."
...
...
@@ -299,10 +310,5 @@ if [ -n "$SIGN" ]; then
exit
1
fi
else
if
[
-n
"
$ETERDESTSRPM
"
]
;
then
mkdir
-p
$ETERDESTSRPM
||
echog
"Error mkdir
$ETERDESTSRPM
"
echog
"Copying package(s) in
\$
ETERDESTSRPM"
cp
-fv
$LISTBUILT
$ETERDESTSRPM
||
echog
"Error during copying"
fi
rpmbs_copying_built
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