1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-25 02:23:05 +00:00

Disable a shellcheck rule

This commit is contained in:
Jose Diaz-Gonzalez 2016-09-20 01:31:19 -06:00
parent e7684a0f2c
commit 8848e945b9
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@ ci-dependencies: shellcheck
lint:
@echo linting...
@$(QUIET) find ./ -maxdepth 2 -not -path '*/\.*' | xargs file | egrep "shell|bash" | awk '{ print $$1 }' | sed 's/://g' | xargs shellcheck
@$(QUIET) find ./ -maxdepth 2 -not -path '*/\.*' | xargs file | egrep "shell|bash" | awk '{ print $$1 }' | sed 's/://g' | xargs shellcheck -e SC2069
setup:
$(MAKE) ci-dependencies

View File

@ -12,7 +12,8 @@ ZLIB_VERSION="1.2.8"
ZLIB_TARBALL="zlib-${ZLIB_VERSION}.tar.gz"
suppress() {
/bin/rm --force /tmp/surpress.out 2> /dev/null; $* 2>&1 > /tmp/surpress.out || cat /tmp/surpress.out; /bin/rm /tmp/surpress.out;
# shellcheck disable=SC2069
/bin/rm --force /tmp/surpress.out 2> /dev/null; "$@" 2>&1 > /tmp/surpress.out || cat /tmp/surpress.out; /bin/rm /tmp/surpress.out;
}
# parse and derive params