Skip to content

Commit

Permalink
Ensure executable bit on script directories
Browse files Browse the repository at this point in the history
Fixes camptocamp#89
Co-Authored-By: Guewen Baconnier
  • Loading branch information
pniederlag committed Nov 12, 2018
1 parent 8f7a860 commit 0d76cc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ on_exit() {
}

trap on_exit EXIT

# as executable bit will be inherited to the docker image we explicitly set executable bit on scripts
chmod +x start-entrypoint.d/* before-migrate-entrypoint.d/*
cp -r ${VERSION}/. ${TMP}/
cp -r bin/ ${TMP}
cp -rT common/ ${TMP}
Expand Down

0 comments on commit 0d76cc5

Please sign in to comment.