From 7f4efaa0739232b80cb3be2ba2c575259a465448 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 08 Jul 2020 00:23:49 -0400 Subject: package: Drop "_" from variable name --- diff --git a/src/package.sh b/src/package.sh index 8f71e9f..34ca81d 100644 --- a/src/package.sh +++ b/src/package.sh @@ -18,7 +18,7 @@ # along with the ProteanOS Development Kit. If not, see # . -_package_dir= +package_dir= _package_format= package_init() @@ -26,11 +26,11 @@ package_init() local dir="${1}" shift 1 - _package_dir="${dir}" + package_dir="${dir}" _package_format='' - if [ -r "${_package_dir}/format" ]; then - case "$(cat -- "${_package_dir}/format")" in + if [ -r "${package_dir}/format" ]; then + case "$(cat -- "${package_dir}/format")" in 2.*) _package_format=2 ;; -- cgit v0.9.1