File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 13
13
hooks :
14
14
- id : shfmt
15
15
types : [text]
16
- files : ^(bash_completion(\.d/[^/]+\.bash)?|completions/.+|test/(config/bashrc|fallback/update-fallback-links|runLint|update-test-cmd-list)|.+\.sh(\.in)?)$
16
+ files : ^(bash_completion(\.d/[^/]+\.bash)?|completions/.+|test/(config/bashrc|fixtures/.+/bin/.+| fallback/update-fallback-links|runLint|update-test-cmd-list)|.+\.sh(\.in)?)$
17
17
exclude : ^completions/(\.gitignore|Makefile.*)$
18
18
19
19
- repo : https://github.com/shellcheck-py/shellcheck-py
22
22
- id : shellcheck
23
23
args : [-f, gcc]
24
24
types : [text]
25
- files : ^(bash_completion(\.d/[^/]+\.bash)?|completions/.+|test/(config/bashrc|fallback/update-fallback-links|runLint|update-test-cmd-list)|.+\.sh(\.in)?)$
25
+ files : ^(bash_completion(\.d/[^/]+\.bash)?|completions/.+|test/(config/bashrc|fixtures/.+/bin/.+| fallback/update-fallback-links|runLint|update-test-cmd-list)|.+\.sh(\.in)?)$
26
26
exclude : ^completions/(\.gitignore|Makefile.*)$
27
27
require_serial : false # We disable SC1090 anyway, so parallel is ok
28
28
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
3
- if [ " $1 " = -e ] && [ " $2 " = mocksrv ]; then
3
+ if [[ $1 == -e && $2 == " mocksrv" ] ]; then
4
4
echo " Header line"
5
5
echo " /test/path"
6
6
echo " /test/path2"
You can’t perform that action at this time.
0 commit comments