index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-16 10:23:58 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-16 10:23:58 +0200 |
commit | eb7164898f731c2c50e849048ce2f4c561017db5 (patch) | |
tree | b9981da3793fd90caf25118498727a973c1e2082 | |
parent | 0eaf07b89956169ff54bc9f5aea0dd9fef92a8d6 (diff) |
-rwxr-xr-x | bin/common-functions | 12 |
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 |