From 62f871fb25b70860364b0023745c0f31516e69d0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 16:22:29 +0200 Subject: make shellcheck happy --- lib/common-functions | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/common-functions b/lib/common-functions index e9437e1..ba03fc1 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -407,6 +407,7 @@ find_package_repository_to_package() { >&2 printf 'trying to filter based on git\n' if ! repo=$( + # shellcheck disable=SC2016 { printf 'SELECT `upstream_repositories`.`name`' printf ' FROM `upstream_repositories`' @@ -457,7 +458,8 @@ extract_source_directory() { local output="$5" local sub_pkgrel="$6" - local pkgbase_translated=$( + local pkgbase_translated + pkgbase_translated=$( printf '%s\n' "${pkgbase}" \ | sed ' s@+@plus@g -- cgit v1.2.3-54-g00ecf