yourkit-java: restore CONFIG_DIR

This commit is contained in:
Guanpeng Xu 2024-01-04 01:25:29 -08:00
parent d0d3241c3c
commit 104220d983

View File

@ -1,8 +1,9 @@
if [ ! -d $YS ]; then
mkdir -p $YS
CONFIG_DIR=$YS/config
if [ ! -d $CONFIG_DIR ]; then
mkdir -p $CONFIG_DIR
fi
REGISTRY=$YS/registry8.xml
REGISTRY=$CONFIG_DIR/registry8.xml
if [ ! -e $REGISTRY ]; then
cat >$REGISTRY <<EOF
<?xml version="1.0" encoding="UTF-8" standalone="no"?>