From 168341e04931b1203740870e57966ce0f1d19e0d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 28 Mar 2017 18:48:29 -0400 Subject: Make purely stylistic changes to make shellcheck happier. These are purely stylistic changes that make shellcheck complain less. This does NOT include things like quoting currently unquoted variables. --- finddeps.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'finddeps.in') diff --git a/finddeps.in b/finddeps.in index 89ccc41..03e5501 100644 --- a/finddeps.in +++ b/finddeps.in @@ -19,7 +19,7 @@ fi find . -type d | while read d; do if [[ -f "$d/PKGBUILD" ]]; then - unset pkgname depends makedepends optdepends + pkgname=() depends=() makedepends=() optdepends=() . "$d/PKGBUILD" for dep in "${depends[@]}"; do # lose the version comparator, if any -- cgit v1.2.3-70-g09d2