summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2022-08-29 15:05:38 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2022-08-30 21:29:18 -0400
commitbc87081f08e91dc2c045c5e0b2cffa73e213a363 (patch)
tree5f24e7a831f73082dd6cc1d87bb4ed6479d55f36
parente9ad93ac412a0fb2d99ef739db50a4b9c503a059 (diff)
declare main() local vars local
-rw-r--r--makechrootpkg.in18
1 files changed, 9 insertions, 9 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 61091c8..32af2cc 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -418,15 +418,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