We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7476c73 + 86dc18d commit 39640bdCopy full SHA for 39640bd
1 file changed
scripts/docker/start.sh
@@ -41,7 +41,9 @@ function init_directory() {
41
chown -R mysql:mysql /var/log/tca/mariadb /var/opt/tca/mariadb /run/mysqld
42
43
if [ -d "/CodeAnalysis/tools" ]; then
44
- mv /CodeAnalysis/tools /var/opt/tca/
+ rsync -a /CodeAnalysis/tools/ /var/opt/tca/tools/
45
+ rm -rf /CodeAnalysis/tools
46
+ # mv -f /CodeAnalysis/tools /var/opt/tca/tools/
47
ln -s /var/opt/tca/tools /CodeAnalysis/tools
48
else
49
@@ -52,6 +54,7 @@ function init_directory() {
52
54
53
55
mv /CodeAnalysis/scripts/config.sh /CodeAnalysis/scripts/config.sh.bak
56
ln -s /etc/tca/config.sh /CodeAnalysis/scripts/config.sh
57
+ source /etc/tca/config.sh
58
fi
59
60
if [ ! -f "/etc/tca/client/config.ini" ]; then
0 commit comments