From 7e3d0986836a74f91026ff072f31d04f2a6329fb Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 28 Mar 2017 19:20:11 -0400 Subject: Add `# shellcheck` directives to quiet shellcheck. --- checkpkg.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'checkpkg.in') diff --git a/checkpkg.in b/checkpkg.in index e005dfd..0d35aaa 100644 --- a/checkpkg.in +++ b/checkpkg.in @@ -7,6 +7,7 @@ m4_include(lib/common.sh) # Source makepkg.conf; fail if it is not found if [[ -r '/etc/makepkg.conf' ]]; then + # shellcheck source=makepkg-x86_64.conf source '/etc/makepkg.conf' else die '/etc/makepkg.conf not found!' @@ -14,8 +15,10 @@ fi # Source user-specific makepkg.conf overrides if [[ -r "${XDG_CONFIG_HOME:-$HOME/.config}/pacman/makepkg.conf" ]]; then + # shellcheck source=/dev/null source "${XDG_CONFIG_HOME:-$HOME/.config}/pacman/makepkg.conf" elif [[ -r "$HOME/.makepkg.conf" ]]; then + # shellcheck source=/dev/null source "$HOME/.makepkg.conf" fi @@ -23,6 +26,7 @@ if [[ ! -f PKGBUILD ]]; then die 'This must be run in the directory of a built package.' fi +# shellcheck source=/dev/null . ./PKGBUILD if [[ $arch == 'any' ]]; then CARCH='any' -- cgit v1.2.3-70-g09d2