Skip to content

Commit 042ecaf

Browse files
authored
Fix bash checking scripts (#29)
1 parent 5bf07a2 commit 042ecaf

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

.dev-tools/check_file_permissions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
set -eu
33

44
files_with_wrong_permissions=$(
5+
cd $(git rev-parse --show-toplevel)
56
git ls-files --stage . \
67
':!*.sh' \
7-
':!generate_readme\.php' \
88
| grep '^100755 ' \
99
| sort -fh
1010
)

.dev-tools/check_trailing_whitespaces.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
set -eu
2525

2626
files_with_trailing_whitespaces=$(
27+
cd $(git rev-parse --show-toplevel)
2728
git grep -EIn "\\s$" \
2829
| sort -fh
2930
)

.dev-tools/generate_readme.php

100755100644
File mode changed.

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
env:
5555
COMPOSER_PROCESS_TIMEOUT: 300
56-
56+
5757
steps:
5858
- name: Checkout
5959
uses: actions/checkout@v2

0 commit comments

Comments
 (0)