diff options
-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 ;; |