diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-07-08 00:23:49 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-07-10 20:55:47 (EDT) |
commit | 7f4efaa0739232b80cb3be2ba2c575259a465448 (patch) | |
tree | 422448a7925a2bcd56940345a59f00d19d3cfde7 /src | |
parent | cea005ff55af6d012f2b2c99263adb29da6d3a72 (diff) |
package: Drop "_" from variable name
Diffstat (limited to 'src')
-rw-r--r-- | src/package.sh | 8 |
1 files changed, 4 insertions, 4 deletions
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 # <http://www.gnu.org/licenses/>. -_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 ;; |