revert the order of finding build_xxx
This commit is contained in:
parent
a747b38b46
commit
6622563bb2
@ -3,7 +3,7 @@ SOURCE_DIR=$(readlink -f "$(dirname ${BASH_SOURCE[0]})/../..")
|
||||
|
||||
if [ $# -lt 1 ]
|
||||
then
|
||||
BUILD_DIR=$(find $SOURCE_DIR -maxdepth 1 -name 'build_*' -type d | grep -v 'build_ccls' | sort | head -1)
|
||||
BUILD_DIR=$(find $SOURCE_DIR -maxdepth 1 -name 'build_*' -type d | grep -v 'build_ccls' | head -1)
|
||||
if [[ "$BUILD_DIR" == "" ]]
|
||||
then
|
||||
echo "Usage ./copy.sh [oceanbase_dev_dir]"
|
||||
|
Loading…
x
Reference in New Issue
Block a user