check sourced
This commit is contained in:
parent
e029b00cae
commit
84f6922b6f
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@ sh_source_check() {
|
||||||
-name "*.sh" \
|
-name "*.sh" \
|
||||||
-printf ". \"%P\"\n" \
|
-printf ". \"%P\"\n" \
|
||||||
>"${file}"
|
>"${file}"
|
||||||
shellcheck "${file}"
|
shellcheck \
|
||||||
|
--check-sourced \
|
||||||
|
"${file}"
|
||||||
rm "${file}"
|
rm "${file}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue