summaryrefslogtreecommitdiff
path: root/finddeps.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-05-05 18:41:10 -0400
committerErich Eckner <git@eckner.net>2017-07-14 07:00:23 +0200
commitcd000ccc0144c7ec54696520bf7217163a39cde0 (patch)
tree0d16c2eaec9923d73f17dcab673138252573c899 /finddeps.in
parent196cdd7ae6626e8c66336b6121c9024b70acea9c (diff)
downloaddevtools-cd000ccc0144c7ec54696520bf7217163a39cde0.tar.xz
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.
Diffstat (limited to 'finddeps.in')
-rw-r--r--finddeps.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/finddeps.in b/finddeps.in
index 80774bb..2a085e5 100644
--- a/finddeps.in
+++ b/finddeps.in
@@ -20,6 +20,7 @@ fi
find . -type d | while read -r d; do
if [[ -f "$d/PKGBUILD" ]]; then
pkgname=() depends=() makedepends=() optdepends=()
+ # shellcheck source=PKGBUILD.proto
. "$d/PKGBUILD"
for dep in "${depends[@]}"; do
# lose the version comparator, if any