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
f2a9e683
Commit
f2a9e683
authored
Jun 04, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename check_key to check_ssh_key
parent
0a0acbf9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
5 deletions
+11
-5
loginhsh
bin/loginhsh
+1
-1
rpmbs
bin/rpmbs
+2
-2
rpmbsh
bin/rpmbsh
+1
-1
common
share/eterbuild/functions/common
+7
-1
No files found.
bin/loginhsh
View file @
f2a9e683
...
...
@@ -78,7 +78,7 @@ fi
if
[
-n
"
$REMOTE
"
]
;
then
check_key
check_
ssh_
key
test
-n
"
$BUILDSERVER
"
||
fatal
"Please set BUILDSERVER in config file"
ssh
-t
$BUILDSERVER
loginhsh
${
SAVEOPT
/-r/
}
exit
...
...
bin/rpmbs
View file @
f2a9e683
...
...
@@ -214,7 +214,7 @@ pack_src_rpm ${LISTRPMARGS}
#LISTARGS=${LISTARGS/-s/}
if
[
-n
"
$REMOTEBUILD
"
]
;
then
fatal
"Do not realized yet"
check_key
check_
ssh_
key
REMCOM
=
"ssh
$BUILDSERVER
"
echo
...
...
@@ -294,7 +294,7 @@ if [ -z "${UPLOADNOW}" ] ; then
fi
echog
"Uploading to
$GIRARHOST
"
check_key
check_
ssh_
key
$RSYNC
-vay
--partial
--progress
--checksum
\
-e
ssh
$LISTBUILT
$GIRARHOST
:
&&
\
...
...
bin/rpmbsh
View file @
f2a9e683
...
...
@@ -87,7 +87,7 @@ if echo "$LISTNAMES" | grep -q spec ; then
fi
if
[
-n
"
$REMOTEBUILD
"
]
;
then
check_key
check_
ssh_
key
test
-n
"
$BUILDSERVER
"
||
fatal
"Please set BUILDSERVER in config file"
# FIXME - get via etersoft-build-utils
REMOTERPMDIR
=
`
ssh
$BUILDSERVER
echo
$HOME
`
/RPM
...
...
share/eterbuild/functions/common
View file @
f2a9e683
...
...
@@ -211,13 +211,19 @@ parse_cmd_pre_spec()
fi
}
check_key
()
check_
ssh_
key
()
{
echog
"Check access to SSH private key..."
ssh-add
-l
||
ssh-add
$SSH_KEYFILE
||
return
1
return
0
}
# for backward compatibility
check_key
()
{
check_ssh_key
}
make_temp_file
()
{
# Workaround about broken mktemp
...
...
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