feat(hos_client_create, hos_client_destory): 多次调用destory不会导致重复释放

This commit is contained in:
彭宣正
2020-12-14 17:24:58 +08:00
parent 505d529c32
commit 10b370e486
55976 changed files with 8544395 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/bash
CURDIR="$(dirname "$(readlink -f "$0")")"
CHANGED_DIRS=`$CURDIR/DetectDirectoryChanges $1`
case $CHANGED_DIRS in
*"aws-cpp-sdk-core"*)
;&
*"CMakeLists.txt"*)
;&
*"cmake"*)
;&
*"code-generation"*)
echo "-DBUILD_ONLY=\"\""
exit 0
;;
*)
esac
BUILD_ONLY_OUT="-DBUILD_ONLY=\"${CHANGED_DIRS//$'\n'/';'}\""
echo ${BUILD_ONLY_OUT//$'aws-cpp-sdk-'/''}