fix ccls build mode copy.sh and clean logic

This commit is contained in:
wenxingsen
2022-12-27 13:12:05 +00:00
committed by ob-robot
parent 4666798151
commit 7bcc0330c1
6 changed files with 15 additions and 14 deletions

View File

@ -2,7 +2,7 @@
if [ $# -lt 1 ]
then
echo "Usage ./copy.sh [oceanbase_dev_dir]"
BUILD_DIR=$(find $PWD/../../ -maxdepth 1 -name 'build_*' -type d | head -1)
BUILD_DIR=$(find $PWD/../../ -maxdepth 1 -name 'build_*' -type d | grep -v 'build_ccls' | head -1)
SOURCE_DIR=$PWD/../../
else
BUILD_DIR=$1