[Enhancement] Silence meaningless error messages in copy.sh
This commit is contained in:
@ -6,8 +6,7 @@ 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' | sort | head -1)
|
||||||
if [[ "$BUILD_DIR" == "" ]]
|
if [[ "$BUILD_DIR" == "" ]]
|
||||||
then
|
then
|
||||||
echo "Please specify the build directory of oceanbase."
|
echo "Usage ./copy.sh [oceanbase_dev_dir]"
|
||||||
exit 1
|
|
||||||
else
|
else
|
||||||
echo "Choose $BUILD_DIR as build directory of oceanbase."
|
echo "Choose $BUILD_DIR as build directory of oceanbase."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user