From eb7164898f731c2c50e849048ce2f4c561017db5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 16 Jun 2017 10:23:58 +0200 Subject: bin/common-functions: put each "local" on a separate line --- bin/common-functions | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/bin/common-functions b/bin/common-functions index fe8ae42..2eeca5e 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -10,7 +10,10 @@ find_pkgbuild() { - local PKGBUILD='' repo file package_path + local PKGBUILD='' + local repo + local file + local package_path if [ -f "${repo_paths__archlinux32}/$2/$1/PKGBUILD" ]; then # If this package has some modification, @@ -60,7 +63,8 @@ apply_package_customizations() { exit 1 fi - local repo package + local repo + local package repo="$(pwd)" package="${repo%/*/*}" @@ -157,7 +161,9 @@ generate_package_metadata() { local git_revision="$2" local mod_git_revision="$3" local repository="$4" - local file_prefix file PKGBUILD + local file_prefix + local file + local PKGBUILD if [ $# -eq 1 ]; then # second form -- cgit v1.2.3-70-g09d2