Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
130s committed Nov 18, 2021
1 parent f6d4ba7 commit 5c29a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if [ -n "$SSH_PRIVATE_KEY" ]; then
eval $(ssh-agent -s)
# Avoiding https://github.com/ros-industrial/industrial_ci/issues/756
# add key to agent
echo -n "${SSH_PRIVATE_KEY}" | tr -d '\r' | ssh-add - > /dev/null || { res=$?; echo "could not add ssh key"; exit $res; }
echo -n "${SSH_PRIVATE_KEY}" | ssh-add - > /dev/null || { res=$?; echo "could not add ssh key"; exit $res; }
if [ -n "$SSH_SERVER_HOSTKEYS" ]; then
mkdir -p ~/.ssh
# setup known hosts
Expand Down

0 comments on commit 5c29a28

Please sign in to comment.