Skip to content

Commit

Permalink
fix on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
vdesabou committed Oct 21, 2024
1 parent 363a9f9 commit 72d5e0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions connect/connect-ftps-sink/ftps-sink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ log "🔐 Generate keys and certificates used for SSL"
docker run -u0 --rm -v $PWD:/tmp ${CP_CONNECT_IMAGE}:${CONNECT_TAG} bash -c "/tmp/certs-create.sh > /dev/null 2>&1 && chown -R $(id -u $USER):$(id -g $USER) /tmp/"
cd ${DIR}

if [ ! -z "$GITHUB_RUN_NUMBER" ]
if [[ "$(uname)" != "Darwin" ]]
then
# running with github actions
# Linux
sudo chown root ${DIR}/config/vsftpd.conf
sudo chown root ${DIR}/security/vsftpd.pem
fi
Expand Down
5 changes: 3 additions & 2 deletions connect/connect-ftps-source/ftps-source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ log "🔐 Generate keys and certificates used for SSL"
docker run -u0 --rm -v $PWD:/tmp ${CP_CONNECT_IMAGE}:${CONNECT_TAG} bash -c "/tmp/certs-create.sh > /dev/null 2>&1 && chown -R $(id -u $USER):$(id -g $USER) /tmp/"
cd ${DIR}

if [ ! -z "$GITHUB_RUN_NUMBER" ]

if [[ "$(uname)" != "Darwin" ]]
then
# running with github actions
# Linux
sudo chown root ${DIR}/config/vsftpd.conf
sudo chown root ${DIR}/security/vsftpd.pem
fi
Expand Down

0 comments on commit 72d5e0a

Please sign in to comment.