File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ function init_directory() {
4141 chown -R mysql:mysql /var/log/tca/mariadb /var/opt/tca/mariadb /run/mysqld
4242
4343 if [ -d " /CodeAnalysis/tools" ]; then
44- mv /CodeAnalysis/tools /var/opt/tca/
44+ rsync -a /CodeAnalysis/tools/ /var/opt/tca/tools/
45+ rm -rf /CodeAnalysis/tools
46+ # mv -f /CodeAnalysis/tools /var/opt/tca/tools/
4547 ln -s /var/opt/tca/tools /CodeAnalysis/tools
4648 else
4749 ln -s /var/opt/tca/tools /CodeAnalysis/tools
@@ -52,6 +54,7 @@ function init_directory() {
5254 else
5355 mv /CodeAnalysis/scripts/config.sh /CodeAnalysis/scripts/config.sh.bak
5456 ln -s /etc/tca/config.sh /CodeAnalysis/scripts/config.sh
57+ source /etc/tca/config.sh
5558 fi
5659
5760 if [ ! -f " /etc/tca/client/config.ini" ]; then
You can’t perform that action at this time.
0 commit comments