File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 5d8fdd881b84548f38c1d5ffc6d5f46a18919d8dd6c1398d69abe055dd76ef98 public/sh/install_zpmod.sh
1+ 348b78e992d28ecebd23940d06944629ef7f8f9d93c17ef3469cd6eebd288451 public/sh/install_zpmod.sh
227408a1045f330a6e73bda55c6c7b48be7873a4e7f1fb00d7db989827cc9224a9 public/sh/install.sh
33f8519bf7e3e42ad67cc9cff6d82a8367641611fc687b2f6793e26bd55dbbb553 public/sh/sync-init.sh
4498f54a779985719e390b3e4559b7b0ac22101caac91d0569d41cd9229a05c6de public/zsh/init.zsh
Original file line number Diff line number Diff line change @@ -124,10 +124,20 @@ MAIN() {
124124 col_info2=" [32m"
125125 col_rst=" [0m"
126126
127- setup_environment " $@ "
128- setup_zpmod_repository " $@ "
129- build_zpmod_module " $@ "
127+ if [ " $# " -gt 0 ]; then
128+ setup_environment " $@ "
129+ setup_zpmod_repository " $@ "
130+ build_zpmod_module " $@ "
131+ else
132+ setup_environment
133+ setup_zpmod_repository
134+ build_zpmod_module
135+ fi
130136 exit 0
131137}
132138
133- MAIN " ${@ } "
139+ if [ " $# " -gt 0 ]; then
140+ MAIN " $@ "
141+ else
142+ MAIN
143+ fi
You can’t perform that action at this time.
0 commit comments