Skip to content

Commit

Permalink
Fix creds
Browse files Browse the repository at this point in the history
  • Loading branch information
kobi-lemberg committed Mar 23, 2020
1 parent 1693fb6 commit 5640ccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ mkdir /root/.ivy2/ || echo "Ivy folder is exists"

echo ${IVY_CONF} > ~/.ivy2/credentials || echo "Couldn't write ivy into ~/.ivy2/credentials"
echo ${IVY_CONF} > /root/.ivy2/credentials || sudo echo ${IVY_CONF} > /root/.ivy2/credentials || echo "Couldn't write ivy into /root/.ivy2/credentials"
echo $(cat ~/.ivy2/credentials) || "~/.ivy2/credentials not found"
echo $(cat /root/.ivy2/credentials) || "/root/.ivy2/credentials"
echo $(cat ~/.ivy2/credentials) || echo "~/.ivy2/credentials not found"
echo $(cat /root/.ivy2/credentials) || echo "/root/.ivy2/credentials"
echo "Running command"
${COMMAND}

0 comments on commit 5640ccb

Please sign in to comment.