From cd000ccc0144c7ec54696520bf7217163a39cde0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 5 May 2017 18:41:10 -0400 Subject: Add `# shellcheck` directives to quiet shellcheck, add PKGBUILD.proto The added PKGBUILD.proto file is so that shellcheck can know know what to expect that a PKGBUILD sets. --- makechrootpkg.in | 1 + 1 file changed, 1 insertion(+) (limited to 'makechrootpkg.in') diff --git a/makechrootpkg.in b/makechrootpkg.in index f527257..71bc9dc 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -242,6 +242,7 @@ EOF # These functions aren't run in makechrootpkg, # so no global variables _chrootbuild() { + # shellcheck source=/dev/null . /etc/profile # Beware, there are some stupid arbitrary rules on how you can # use "$" in arguments to commands with "sudo -i". ${foo} or -- cgit v1.2.3-54-g00ecf