Skip to content

Commit

Permalink
chore: use bash instead of executable scripts (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
rokroskar authored Mar 12, 2021
1 parent b4d0d83 commit bfe0ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/py/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ find /tmp/renku-env -not -path '*.git*' -type f -print0 | xargs --null -I{} sh -

# run the post-init script in the root directory (i.e. coming from the image)
if [ -f "/post-init.sh" ]; then
/post-init.sh
bash /post-init.sh
fi

# run the post-init script in the project directory
if [ -f "./post-init.sh" ]; then
./post-init.sh
bash ./post-init.sh
fi

# run the command
Expand Down

0 comments on commit bfe0ae2

Please sign in to comment.