diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-08-29 15:05:38 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2022-08-29 17:57:10 -0400 |
commit | a828ac64b4a809d4f888cb9362d1f674290ca41b (patch) | |
tree | 99d60e03321c484f145d1315e0b74c502ef26ee7 | |
parent | 3c73999354b4df8efd29cd6bb30d81a6396913e4 (diff) |
declare main() local vars locallibretools-20201120
-rw-r--r-- | makechrootpkg.in | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in index 3af0835..686e588 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -411,15 +411,15 @@ move_products() { main() { default_makepkg_args=(--syncdeps --noconfirm --log --holdver --skipinteg) - makepkg_args=("${default_makepkg_args[@]}") - keepbuilddir=false - update_first=false - clean_first=false - run_namcap=false - temp_chroot=false - chrootdir= - passeddir= - makepkg_user= + local makepkg_args=("${default_makepkg_args[@]}") + local keepbuilddir=false + local update_first=false + local clean_first=false + local run_namcap=false + local temp_chroot=false + local chrootdir= + local passeddir= + local makepkg_user= declare -a install_pkgs declare -i ret=0 |