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:
parent
e7684a0f2c
commit
8848e945b9
2
Makefile
2
Makefile
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user