OSDN Git Service

[fix] : Fixed file remove
[alterlinux/fascode-live-tools.git] / shellcheck.sh
1 #!/usr/bin/env bash
2
3 set -eu
4
5 script_path="$( cd -P "$( dirname "$(readlink -f "$0")" )" && pwd )"
6 cd "${script_path}"
7
8 ls | grep -E 'alterlinux-*' | xargs -Ifile bash -c 'shopt -s globstar nullglob; shellcheck -s bash --exclude=SC2068 -S error ./file/file'
9 bash -c 'shopt -s globstar nullglob; shellcheck -s bash --exclude=SC2068 -S error ./shellcheck.sh'