summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/common-functions12
1 files 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