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
bed69ab5
Commit
bed69ab5
authored
Jul 05, 2009
by
Vitaly Lipatov
Committed by
Vitaly Lipatov
Jul 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbs: add ssh target support for ETERDESTSRPM
parent
4c22b2b0
Hide 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 @
bed69ab5
...
...
@@ -120,6 +120,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