Skip to content

Commit

Permalink
Fix bash checking scripts (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos authored Aug 14, 2024
1 parent 5bf07a2 commit 042ecaf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .dev-tools/check_file_permissions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
set -eu

files_with_wrong_permissions=$(
cd $(git rev-parse --show-toplevel)
git ls-files --stage . \
':!*.sh' \
':!generate_readme\.php' \
| grep '^100755 ' \
| sort -fh
)
Expand Down
1 change: 1 addition & 0 deletions .dev-tools/check_trailing_whitespaces.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
set -eu

files_with_trailing_whitespaces=$(
cd $(git rev-parse --show-toplevel)
git grep -EIn "\\s$" \
| sort -fh
)
Expand Down
Empty file modified .dev-tools/generate_readme.php
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

env:
COMPOSER_PROCESS_TIMEOUT: 300

steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 042ecaf

Please sign in to comment.