mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
fix: complete shellcheck fixes
- Fix CRLF line endings (SC1017) in 10 shell scripts - Add shebangs (SC2148) to 5 scripts missing them - Fix unquoted variables (SC2086) in kali-updates.sh - Add shellcheck disable directive for intentional eval usage - Fix missing space after ! in observium/custom_install.sh - Add security scan reports to .gitignore-safe location
This commit is contained in:
1 parent
18b039be1e
commit
1f2c919f56
34 files changed
+4188
-162
No files matched your search
@@ -67,6 +67,7 @@ run_cmd() {
|
||||
if [[ "${DRY_RUN}" == "true" ]]; then
|
||||
echo "[DRY-RUN] $*"
|
||||
else
|
||||
# shellcheck disable=SC2294 # eval is intentional here to execute command arrays
|
||||
eval "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user