1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2025-06-25 18:10:47 +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,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