Skip to content

Commit

Permalink
Fix up permissions after user build action hook run.
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamDumpleton committed Jun 6, 2017
1 parent fcdc38c commit d93af05
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .s2i/bin/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ if [ -f $S2I_SOURCE_PATH/.s2i/action_hooks/build ]; then
fi
fi

# Now fix up the permissions on the directories and files where the source
# code was copied one last time to account for changes made from the users
# 'build' hook.

fix-permissions $S2I_SOURCE_PATH

# Now fix up the shell login environment so it will trigger 'deploy_env'.

if [ x"$S2I_BASH_ENV" != x"" ]; then
Expand Down

0 comments on commit d93af05

Please sign in to comment.