Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-05-22 16:22:29 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-05-22 16:22:29 +0200
commit62f871fb25b70860364b0023745c0f31516e69d0 (patch)
tree8efdaff49293547ee945ff0d10612187a3b06594 /lib
parentd14686b0bdc0b2418300c5d34d5f13c19988f020 (diff)
make shellcheck happy
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions4
1 files changed, 3 insertions, 1 deletions
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