From e82266ec946e67059bf5b9523eab69c51a645d09 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 19 Jun 2022 07:19:04 +0200 Subject: [PATCH] Update onpush_superlinter.yml --- .github/workflows/onpush_superlinter.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/onpush_superlinter.yml b/.github/workflows/onpush_superlinter.yml index 682925b58..831f54a92 100644 --- a/.github/workflows/onpush_superlinter.yml +++ b/.github/workflows/onpush_superlinter.yml @@ -1,4 +1,5 @@ # This workflow executes several linters on changed files based on languages used in your code base whenever +# shellcheck disable=SC2086,SC2046,SC2044 # you push a code or open a pull request. # # You can adjust the behavior by modifying this file. @@ -21,8 +22,8 @@ jobs: - name: Run script file id: chmod run: | - for f in `find . -name '*.sh' -o -regex './s?bin/[^/]+' -o -regex './usr/sbin/[^/]+' -o -regex './usr/lib/[^/]+' `;do - ( cd `dirname $f` && git update-index --chmod=+x `basename $f` ) + for f in $(find . -name '*.sh' -o -regex './s?bin/[^/]+' -o -regex './usr/sbin/[^/]+' -o -regex './usr/lib/[^/]+'); do + ( cd "$(dirname $f)" && git update-index --chmod=+x "$(basename $f)" ) done shell: bash - name: Create New Pull Request If Needed