support aliyun sdk on TencentOS tiny
sample: examples\aliyun_iotkit_csdk_mqtt project: board\TencentOS_tiny_EVB_MX_Plus\KEIL\aliyun_iotkit_csdk_mqtt
This commit is contained in:
10
components/connectivity/iotkit-embedded-3.0.1/3rdparty/tools/build-rules/scripts/del_license.sh
vendored
Normal file
10
components/connectivity/iotkit-embedded-3.0.1/3rdparty/tools/build-rules/scripts/del_license.sh
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
#! /bin/bash
|
||||
|
||||
START_LINE=$(head -3 $1|grep -n '^ *\/\*'|cut -d':' -f1)
|
||||
END_LINE=$(grep -m 1 -n '^ *\*\/' $1|cut -d':' -f1)
|
||||
echo "[${START_LINE},${END_LINE}]"
|
||||
|
||||
if [ "${START_LINE}" != "" ] && [ "${END_LINE}" != "" ]; then
|
||||
sed -i "${START_LINE},${END_LINE}d" $1
|
||||
echo "LICENSE REMOVED: $1"
|
||||
fi
|
Reference in New Issue
Block a user