From 975f3a9c8a292c8266b460cf7f0211bce076cce6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 7 Aug 2024 18:12:58 +0200 Subject: liste-verfuegbare-Versionen: refactoring --- liste-verfuegbare-Versionen | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'liste-verfuegbare-Versionen') diff --git a/liste-verfuegbare-Versionen b/liste-verfuegbare-Versionen index acabba8e1..c3362ae81 100755 --- a/liste-verfuegbare-Versionen +++ b/liste-verfuegbare-Versionen @@ -11,7 +11,8 @@ sources=( sudo pacman -Sy >/dev/null || exit $? for i in "${!sources[@]}"; do - find "${sources["${i}"]}" -name '*.db' \ + source="${sources["${i}"]}" + find "${source}" -name '*.db' \ -exec bsdtar -Oxzf {} \; \ 2>/dev/null \ | sed -n ' -- cgit v1.2.3-70-g09d2