Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
e2e9f621
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
e2e9f621
编写于
2月 05, 2022
作者:
Z
zyyang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change taosdump and taosBenchmark OEM info
上级
54ce19c0
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
10 addition
and
25 deletion
+10
-25
packaging/sed_pro.sh
packaging/sed_pro.sh
+5
-0
packaging/tools/install.sh
packaging/tools/install.sh
+0
-4
packaging/tools/install_client.sh
packaging/tools/install_client.sh
+0
-6
packaging/tools/make_install.sh
packaging/tools/make_install.sh
+0
-9
packaging/tools/makepkg.sh
packaging/tools/makepkg.sh
+4
-2
packaging/tools/remove.sh
packaging/tools/remove.sh
+1
-2
packaging/tools/remove_client.sh
packaging/tools/remove_client.sh
+0
-2
未找到文件。
packaging/sed_pro.sh
浏览文件 @
e2e9f621
#!/bin/bash
#!/bin/bash
function
replace_community_pro
()
{
function
replace_community_pro
()
{
# src/kit/taos-tools/src/CMakeLists.txt
sed
-i
"s/taosBenchmark /proBenchmark /g"
${
top_dir
}
/src/kit/taos-tools/src/CMakeLists.txt
sed
-i
"s/taosdump /prodump /g"
${
top_dir
}
/src/kit/taos-tools/src/CMakeLists.txt
# cmake/install.inc
# cmake/install.inc
sed
-i
"s/C:
\/
TDengine/C:
\/
ProDB/g"
${
top_dir
}
/cmake/install.inc
sed
-i
"s/C:
\/
TDengine/C:
\/
ProDB/g"
${
top_dir
}
/cmake/install.inc
sed
-i
"s/taos
\.
cfg/prodb
\.
cfg/g"
${
top_dir
}
/cmake/install.inc
sed
-i
"s/taos
\.
cfg/prodb
\.
cfg/g"
${
top_dir
}
/cmake/install.inc
...
@@ -59,6 +62,8 @@ function replace_community_pro() {
...
@@ -59,6 +62,8 @@ function replace_community_pro() {
sed
-i
"s/clientName=
\"
taos
\"
/clientName=
\"
prodbc
\"
/g"
${
top_dir
}
/packaging/tools/makepkg.sh
sed
-i
"s/clientName=
\"
taos
\"
/clientName=
\"
prodbc
\"
/g"
${
top_dir
}
/packaging/tools/makepkg.sh
sed
-i
"s/configFile=
\"
taos
\.
cfg
\"
/configFile=
\"
prodb
\.
cfg
\"
/g"
${
top_dir
}
/packaging/tools/makepkg.sh
sed
-i
"s/configFile=
\"
taos
\.
cfg
\"
/configFile=
\"
prodb
\.
cfg
\"
/g"
${
top_dir
}
/packaging/tools/makepkg.sh
sed
-i
"s/tarName=
\"
taos
\.
tar
\.
gz
\"
/tarName=
\"
prodb
\.
tar
\.
gz
\"
/g"
${
top_dir
}
/packaging/tools/makepkg.sh
sed
-i
"s/tarName=
\"
taos
\.
tar
\.
gz
\"
/tarName=
\"
prodb
\.
tar
\.
gz
\"
/g"
${
top_dir
}
/packaging/tools/makepkg.sh
sed
-i
"s/dumpName=
\"
taosdump
\"
/dumpName=
\"
prodump
\"
/g"
${
top_dir
}
/packaging/tools/makepkg.sh
sed
-i
"s/benchmarkName=
\"
taosBenchmark
\"
/benchmarkName=
\"
proBenchmark
\"
/g"
${
top_dir
}
/packaging/tools/makepkg.sh
# packaging/tools/remove.sh
# packaging/tools/remove.sh
sed
-i
"s/installDir=
\"\/
usr
\/
local
\/
taos
\"
/installDir=
\"\/
usr
\/
local
\/
ProDB
\"
/g"
${
top_dir
}
/packaging/tools/remove.sh
sed
-i
"s/installDir=
\"\/
usr
\/
local
\/
taos
\"
/installDir=
\"\/
usr
\/
local
\/
ProDB
\"
/g"
${
top_dir
}
/packaging/tools/remove.sh
sed
-i
"s/serverName=
\"
taosd
\"
/serverName=
\"
prodbs
\"
/g"
${
top_dir
}
/packaging/tools/remove.sh
sed
-i
"s/serverName=
\"
taosd
\"
/serverName=
\"
prodbs
\"
/g"
${
top_dir
}
/packaging/tools/remove.sh
...
...
packaging/tools/install.sh
浏览文件 @
e2e9f621
...
@@ -189,8 +189,6 @@ function install_bin() {
...
@@ -189,8 +189,6 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
clientName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
clientName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
serverName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
serverName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosadapter
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosadapter
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/tarbitrator
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/tarbitrator
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
@@ -202,8 +200,6 @@ function install_bin() {
...
@@ -202,8 +200,6 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/
${
clientName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
clientName
}
${
bin_link_dir
}
/
${
clientName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
clientName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
clientName
}
${
bin_link_dir
}
/
${
clientName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
serverName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
serverName
}
${
bin_link_dir
}
/
${
serverName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
serverName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
serverName
}
${
bin_link_dir
}
/
${
serverName
}
||
:
[
-x
${
install_main_dir
}
/bin/taosadapter
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosadapter
${
bin_link_dir
}
/taosadapter
||
:
[
-x
${
install_main_dir
}
/bin/taosadapter
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosadapter
${
bin_link_dir
}
/taosadapter
||
:
[
-x
${
install_main_dir
}
/bin/taosBenchmark
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosBenchmark
${
bin_link_dir
}
/taosdemo
||
:
[
-x
${
install_main_dir
}
/bin/taosdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
||
:
[
-x
${
install_main_dir
}
/bin/remove.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove.sh
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
[
-x
${
install_main_dir
}
/bin/remove.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove.sh
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
[
-x
${
install_main_dir
}
/bin/run_taosd_and_taosadapter.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/run_taosd_and_taosadapter.sh
${
bin_link_dir
}
/run_taosd_and_taosadapter.sh
||
:
[
-x
${
install_main_dir
}
/bin/run_taosd_and_taosadapter.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/run_taosd_and_taosadapter.sh
${
bin_link_dir
}
/run_taosd_and_taosadapter.sh
||
:
...
...
packaging/tools/install_client.sh
浏览文件 @
e2e9f621
...
@@ -92,9 +92,6 @@ function install_main_path() {
...
@@ -92,9 +92,6 @@ function install_main_path() {
function
install_bin
()
{
function
install_bin
()
{
# Remove links
# Remove links
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
clientName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
clientName
}
||
:
if
[
"
$osType
"
!=
"Darwin"
]
;
then
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
fi
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
@@ -102,9 +99,6 @@ function install_bin() {
...
@@ -102,9 +99,6 @@ function install_bin() {
#Make link
#Make link
[
-x
${
install_main_dir
}
/bin/
${
clientName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
clientName
}
${
bin_link_dir
}
/
${
clientName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
clientName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
clientName
}
${
bin_link_dir
}
/
${
clientName
}
||
:
if
[
"
$osType
"
!=
"Darwin"
]
;
then
[
-x
${
install_main_dir
}
/bin/taosdemo
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdemo
${
bin_link_dir
}
/taosdemo
||
:
fi
[
-x
${
install_main_dir
}
/bin/remove_client.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove_client.sh
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
[
-x
${
install_main_dir
}
/bin/remove_client.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove_client.sh
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
}
}
...
...
packaging/tools/make_install.sh
浏览文件 @
e2e9f621
...
@@ -169,8 +169,6 @@ function install_bin() {
...
@@ -169,8 +169,6 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
clientName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
clientName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
serverName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
serverName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosadapter
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosadapter
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
if
[
"
$osType
"
!=
"Darwin"
]
;
then
if
[
"
$osType
"
!=
"Darwin"
]
;
then
${
csudo
}
rm
-f
${
bin_link_dir
}
/perfMonitor
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/perfMonitor
||
:
...
@@ -180,9 +178,6 @@ function install_bin() {
...
@@ -180,9 +178,6 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taos
${
install_main_dir
}
/bin
||
:
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taos
${
install_main_dir
}
/bin
||
:
[
-f
${
binary_dir
}
/build/bin/taosBenchmark
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taosBenchmark
${
install_main_dir
}
/bin
||
:
[
-f
${
install_main_dir
}
/bin/taosBenchmark
]
&&
${
csudo
}
ln
-sf
${
install_main_dir
}
/bin/taosBenchmark
${
install_main_dir
}
/bin/taosdemo
||
:
[
-f
${
binary_dir
}
/build/bin/taosdump
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taosdump
${
install_main_dir
}
/bin
||
:
[
-f
${
binary_dir
}
/build/bin/taosadapter
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taosadapter
${
install_main_dir
}
/bin
||
:
[
-f
${
binary_dir
}
/build/bin/taosadapter
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taosadapter
${
install_main_dir
}
/bin
||
:
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taosd
${
install_main_dir
}
/bin
||
:
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taosd
${
install_main_dir
}
/bin
||
:
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/tarbitrator
${
install_main_dir
}
/bin
||
:
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/tarbitrator
${
install_main_dir
}
/bin
||
:
...
@@ -198,8 +193,6 @@ function install_bin() {
...
@@ -198,8 +193,6 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/
${
clientName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
clientName
}
${
bin_link_dir
}
/
${
clientName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
clientName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
clientName
}
${
bin_link_dir
}
/
${
clientName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
serverName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
serverName
}
${
bin_link_dir
}
/
${
serverName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
serverName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
serverName
}
${
bin_link_dir
}
/
${
serverName
}
||
:
[
-x
${
install_main_dir
}
/bin/taosadapter
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosadapter
${
bin_link_dir
}
/taosadapter
||
:
[
-x
${
install_main_dir
}
/bin/taosadapter
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosadapter
${
bin_link_dir
}
/taosadapter
||
:
[
-x
${
install_main_dir
}
/bin/taosdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
||
:
[
-x
${
install_main_dir
}
/bin/taosdemo
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdemo
${
bin_link_dir
}
/taosdemo
||
:
[
-x
${
install_main_dir
}
/bin/perfMonitor
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/perfMonitor
${
bin_link_dir
}
/perfMonitor
||
:
[
-x
${
install_main_dir
}
/bin/perfMonitor
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/perfMonitor
${
bin_link_dir
}
/perfMonitor
||
:
[
-x
${
install_main_dir
}
/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
[
-x
${
install_main_dir
}
/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
[
-x
${
install_main_dir
}
/run_taosd_and_taosadapter.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/run_taosd_and_taosadapter.sh
${
bin_link_dir
}
/run_taosd_and_taosadapter.sh
||
:
[
-x
${
install_main_dir
}
/run_taosd_and_taosadapter.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/run_taosd_and_taosadapter.sh
${
bin_link_dir
}
/run_taosd_and_taosadapter.sh
||
:
...
@@ -214,8 +207,6 @@ function install_bin() {
...
@@ -214,8 +207,6 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/
${
clientName
}
]
||
[
-x
${
install_main_2_dir
}
/bin/
${
clientName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
clientName
}
${
bin_link_dir
}
/
${
clientName
}
||
${
csudo
}
ln
-s
${
install_main_2_dir
}
/bin/
${
clientName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
clientName
}
]
||
[
-x
${
install_main_2_dir
}
/bin/
${
clientName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
clientName
}
${
bin_link_dir
}
/
${
clientName
}
||
${
csudo
}
ln
-s
${
install_main_2_dir
}
/bin/
${
clientName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
serverName
}
]
||
[
-x
${
install_main_2_dir
}
/bin/
${
serverName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
serverName
}
${
bin_link_dir
}
/
${
serverName
}
||
${
csudo
}
ln
-s
${
install_main_2_dir
}
/bin/
${
serverName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
serverName
}
]
||
[
-x
${
install_main_2_dir
}
/bin/
${
serverName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
serverName
}
${
bin_link_dir
}
/
${
serverName
}
||
${
csudo
}
ln
-s
${
install_main_2_dir
}
/bin/
${
serverName
}
||
:
[
-x
${
install_main_dir
}
/bin/taosadapter
]
||
[
-x
${
install_main_2_dir
}
/bin/taosadapter
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosadapter
${
bin_link_dir
}
/taosadapter
||
${
csudo
}
ln
-s
${
install_main_2_dir
}
/bin/taosadapter
||
:
[
-x
${
install_main_dir
}
/bin/taosadapter
]
||
[
-x
${
install_main_2_dir
}
/bin/taosadapter
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosadapter
${
bin_link_dir
}
/taosadapter
||
${
csudo
}
ln
-s
${
install_main_2_dir
}
/bin/taosadapter
||
:
[
-x
${
install_main_dir
}
/bin/taosdump
]
||
[
-x
${
install_main_2_dir
}
/bin/taosdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
||
ln
-s
${
install_main_2_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
||
:
[
-x
${
install_main_dir
}
/bin/taosdemo
]
||
[
-x
${
install_main_2_dir
}
/bin/taosdemo
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdemo
${
bin_link_dir
}
/taosdemo
||
ln
-s
${
install_main_2_dir
}
/bin/taosdemo
${
bin_link_dir
}
/taosdemo
||
:
fi
fi
}
}
...
...
packaging/tools/makepkg.sh
浏览文件 @
e2e9f621
...
@@ -25,6 +25,8 @@ serverName="taosd"
...
@@ -25,6 +25,8 @@ serverName="taosd"
clientName
=
"taos"
clientName
=
"taos"
configFile
=
"taos.cfg"
configFile
=
"taos.cfg"
tarName
=
"taos.tar.gz"
tarName
=
"taos.tar.gz"
dumpName
=
"taosdump"
benchmarkName
=
"taosBenchmark"
# create compressed install file.
# create compressed install file.
build_dir
=
"
${
compile_dir
}
/build"
build_dir
=
"
${
compile_dir
}
/build"
...
@@ -68,8 +70,8 @@ else
...
@@ -68,8 +70,8 @@ else
${
script_dir
}
/startPre.sh
\
${
script_dir
}
/startPre.sh
\
${
script_dir
}
/taosd-dump-cfg.gdb"
${
script_dir
}
/taosd-dump-cfg.gdb"
taostools_bin_files
=
"
${
build_dir
}
/bin/
taosdump
\
taostools_bin_files
=
"
${
build_dir
}
/bin/
${
dumpName
}
\
${
build_dir
}
/bin/
taosBenchmark
"
${
build_dir
}
/bin/
${
benchmarkName
}
"
fi
fi
lib_files
=
"
${
build_dir
}
/lib/libtaos.so.
${
version
}
"
lib_files
=
"
${
build_dir
}
/lib/libtaos.so.
${
version
}
"
...
...
packaging/tools/remove.sh
浏览文件 @
e2e9f621
...
@@ -17,6 +17,7 @@ clientName="taos"
...
@@ -17,6 +17,7 @@ clientName="taos"
uninstallScript
=
"rmtaos"
uninstallScript
=
"rmtaos"
productName
=
"TDengine"
productName
=
"TDengine"
#install main path
#install main path
install_main_dir
=
${
installDir
}
install_main_dir
=
${
installDir
}
data_link_dir
=
"
${
installDir
}
/data"
data_link_dir
=
"
${
installDir
}
/data"
...
@@ -83,8 +84,6 @@ function clean_bin() {
...
@@ -83,8 +84,6 @@ function clean_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
clientName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
clientName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
serverName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
serverName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosadapter
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosadapter
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/tarbitrator
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/tarbitrator
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
...
packaging/tools/remove_client.sh
浏览文件 @
e2e9f621
...
@@ -36,8 +36,6 @@ function kill_client() {
...
@@ -36,8 +36,6 @@ function kill_client() {
function
clean_bin
()
{
function
clean_bin
()
{
# Remove link
# Remove link
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
clientName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
clientName
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录