Skip to content
Snippets Groups Projects
Commit 316112b2 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[GraphBot] Fix if syntax in inject_env.sh

parent 3b7332e6
No related branches found
No related tags found
No related merge requests found
Pipeline #65383 waiting for manual action
......@@ -3,12 +3,12 @@
if [ -z "${SFTP_USER}" ]; then
echo "SFTP_USER not set, exiting!"
exit 1
else
fi
if [ -z "${SFTP_PASSWORD}" ]; then
echo "SFTP_PASSWORD not set, exiting!"
exit 1
else
fi
echo "Inject SFTP credentials..."
sed -i "s/SFTP_USER/$SFTP_USER/g" /entrypoint.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment