Migrate pre-commit.entrypoint.sh to POSIX sh (#5540)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
The script was basically posix with a bashism. POSIX sh is lighter and thus better. Reviewed-on: #5540 Reviewed-by: delliott <delliott@fsfe.org>
This commit was merged in pull request #5540.
This commit is contained in:
@@ -45,4 +45,4 @@ COPY pre-commit.entrypoint.sh ./
|
||||
# Set the workdir
|
||||
WORKDIR /website-source
|
||||
|
||||
ENTRYPOINT ["bash", "/website-source-during-build/pre-commit.entrypoint.sh"]
|
||||
ENTRYPOINT ["sh", "/website-source-during-build/pre-commit.entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user