From 99f78178964d12e3a8ae6cc4aebf894320e562df Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 5 Sep 2019 14:00:25 +0200 Subject: Added linters and polished code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The minimum version supported has been raised to 25.3. Signed-off-by: Miquel Sabaté Solà --- install.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'install.sh') diff --git a/install.sh b/install.sh index c8e561a..e551236 100755 --- a/install.sh +++ b/install.sh @@ -40,6 +40,8 @@ for i in "${ary[@]:1:${#ary[@]}}"; do ignore+=" -or -name $i" done +# shellcheck disable=SC2086 +# shellcheck disable=SC2044 for file in $(find "$(pwd)" -mindepth 1 -maxdepth 1 ! \( $ignore \)); do # The -F and -f flags of ln suck. Let's rm all the way. rm -rf "${HOME:?}/$(basename $file)" -- cgit v1.2.3