File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ install:
461
461
echo -e "{{.YELLOW}}cli dir path after change is $CLI_INI_DIR{{.GRAY}}"
462
462
echo -e "{{.YELLOW}}web dir path after change is $WEB_INI_DIR{{.GRAY}}"
463
463
INI_DIRS=($WEB_INI_DIR $CLI_INI_DIR)
464
- for dirs in $ INI_DIRS; do
464
+ for dirs in "${ INI_DIRS[@]}" ; do
465
465
for ini in $dirs; do
466
466
echo -e "{{.YELLOW}}ini path is $ini{{.GRAY}}"
467
467
#
@@ -662,7 +662,9 @@ install:
662
662
#
663
663
info_text="{{.TMP_INSTALL_DIR}}/cli_info.txt"
664
664
fi
665
+ cat "${info_text}"
665
666
while read -r bin_loc php_ini_dir nr_ini_dir; do
667
+ echo -e "bin_loc is ${bin_loc}, php_ini_dir is ${php_ini_dir} and nr_ini_dir is ${nr_ini_dir}"
666
668
sudo -u $nonpriv_user $bin_loc -c "${php_ini_dir}/php.ini" -c "${nr_ini_dir}/newrelic.ini" -n --ini &>/dev/null
667
669
done < "${info_text}"
668
670
done
You can’t perform that action at this time.
0 commit comments