summaryrefslogtreecommitdiffstats
path: root/src/package
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-07-02 18:36:56 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-07-02 18:36:56 (EDT)
commitdcf9e96aa3a3530b6f0e6afba8dc0c102b89dd51 (patch)
tree7cc6010e62dc3800b085d46783630fbe0573737a /src/package
parent6adc62fcdae9d61358ce6fc9fae919d5cbc75156 (diff)
Prefix "static" vars with "_"
Diffstat (limited to 'src/package')
-rw-r--r--src/package/2.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/package/2.sh b/src/package/2.sh
index ea0e10d..2a856d3 100644
--- a/src/package/2.sh
+++ b/src/package/2.sh
@@ -18,7 +18,7 @@
# along with the ProteanOS Development Kit. If not, see
# <http://www.gnu.org/licenses/>.
-package_2_build_deps=
+_package_2_build_deps=
_package_2_build_deps_field_cb()
{
@@ -29,7 +29,7 @@ _package_2_build_deps_field_cb()
name="$(printf '%s\n' "${name}" | tr 'A-Z' 'a-z')"
if [ "x${name}" = 'xbuild-depends' ]; then
- package_2_build_deps="${value}"
+ _package_2_build_deps="${value}"
return 1
fi
@@ -42,11 +42,11 @@ package_2_get_build_deps()
local plat="${2}"
shift 2
- package_2_build_deps=''
+ _package_2_build_deps=''
parse_control "${package_dir}/control" \
_package_2_build_deps_field_cb false
- substvars "$(reduce_deps "${package_2_build_deps}" false \
+ substvars "$(reduce_deps "${_package_2_build_deps}" false \
"${arch}" "${plat}")"
return 0