提交 16ea473d 编写于 作者: H Hui Li

[TD-1353]

上级 ac8bd508
...@@ -25,9 +25,9 @@ release_dir="${top_dir}/release" ...@@ -25,9 +25,9 @@ release_dir="${top_dir}/release"
#package_name='linux' #package_name='linux'
if [ "$verMode" == "cluster" ]; then if [ "$verMode" == "cluster" ]; then
install_dir="${release_dir}/TDengine-enterprise-arbitrator" install_dir="${release_dir}/TDengine-enterprise-arbitrator-${version}"
else else
install_dir="${release_dir}/TDengine-arbitrator" install_dir="${release_dir}/TDengine-arbitrator-${version}"
fi fi
# Directories and files. # Directories and files.
...@@ -48,9 +48,9 @@ mkdir -p ${install_dir}/init.d && cp ${init_file_tarbitrator_rpm} ${install_dir} ...@@ -48,9 +48,9 @@ mkdir -p ${install_dir}/init.d && cp ${init_file_tarbitrator_rpm} ${install_dir}
cd ${release_dir} cd ${release_dir}
if [ "$verMode" == "cluster" ]; then if [ "$verMode" == "cluster" ]; then
pkg_name=${install_dir}-${version}-${osType}-${cpuType} pkg_name=${install_dir}-${osType}-${cpuType}
elif [ "$verMode" == "edge" ]; then elif [ "$verMode" == "edge" ]; then
pkg_name=${install_dir}-${version}-${osType}-${cpuType} pkg_name=${install_dir}-${osType}-${cpuType}
else else
echo "unknow verMode, nor cluster or edge" echo "unknow verMode, nor cluster or edge"
exit 1 exit 1
......
...@@ -25,9 +25,9 @@ release_dir="${top_dir}/release" ...@@ -25,9 +25,9 @@ release_dir="${top_dir}/release"
#package_name='linux' #package_name='linux'
if [ "$verMode" == "cluster" ]; then if [ "$verMode" == "cluster" ]; then
install_dir="${release_dir}/PowerDB-enterprise-arbitrator" install_dir="${release_dir}/PowerDB-enterprise-arbitrator-${version}"
else else
install_dir="${release_dir}/PowerDB-arbitrator" install_dir="${release_dir}/PowerDB-arbitrator-${version}"
fi fi
# Directories and files. # Directories and files.
...@@ -48,9 +48,9 @@ mkdir -p ${install_dir}/init.d && cp ${init_file_tarbitrator_rpm} ${install_dir} ...@@ -48,9 +48,9 @@ mkdir -p ${install_dir}/init.d && cp ${init_file_tarbitrator_rpm} ${install_dir}
cd ${release_dir} cd ${release_dir}
if [ "$verMode" == "cluster" ]; then if [ "$verMode" == "cluster" ]; then
pkg_name=${install_dir}-${version}-${osType}-${cpuType} pkg_name=${install_dir}-${osType}-${cpuType}
elif [ "$verMode" == "edge" ]; then elif [ "$verMode" == "edge" ]; then
pkg_name=${install_dir}-${version}-${osType}-${cpuType} pkg_name=${install_dir}-${osType}-${cpuType}
else else
echo "unknow verMode, nor cluster or edge" echo "unknow verMode, nor cluster or edge"
exit 1 exit 1
......
...@@ -32,9 +32,9 @@ release_dir="${top_dir}/release" ...@@ -32,9 +32,9 @@ release_dir="${top_dir}/release"
#package_name='linux' #package_name='linux'
if [ "$verMode" == "cluster" ]; then if [ "$verMode" == "cluster" ]; then
install_dir="${release_dir}/TDengine-enterprise-client" install_dir="${release_dir}/TDengine-enterprise-client-${version}"
else else
install_dir="${release_dir}/TDengine-client" install_dir="${release_dir}/TDengine-client-${version}"
fi fi
# Directories and files. # Directories and files.
...@@ -125,9 +125,9 @@ fi ...@@ -125,9 +125,9 @@ fi
cd ${release_dir} cd ${release_dir}
if [ "$verMode" == "cluster" ]; then if [ "$verMode" == "cluster" ]; then
pkg_name=${install_dir}-${version}-${osType}-${cpuType} pkg_name=${install_dir}-${osType}-${cpuType}
elif [ "$verMode" == "edge" ]; then elif [ "$verMode" == "edge" ]; then
pkg_name=${install_dir}-${version}-${osType}-${cpuType} pkg_name=${install_dir}-${osType}-${cpuType}
else else
echo "unknow verMode, nor cluster or edge" echo "unknow verMode, nor cluster or edge"
exit 1 exit 1
......
...@@ -32,9 +32,9 @@ release_dir="${top_dir}/release" ...@@ -32,9 +32,9 @@ release_dir="${top_dir}/release"
#package_name='linux' #package_name='linux'
if [ "$verMode" == "cluster" ]; then if [ "$verMode" == "cluster" ]; then
install_dir="${release_dir}/PowerDB-enterprise-client" install_dir="${release_dir}/PowerDB-enterprise-client-${version}"
else else
install_dir="${release_dir}/PowerDB-client" install_dir="${release_dir}/PowerDB-client-${version}"
fi fi
# Directories and files. # Directories and files.
...@@ -164,9 +164,9 @@ fi ...@@ -164,9 +164,9 @@ fi
cd ${release_dir} cd ${release_dir}
if [ "$verMode" == "cluster" ]; then if [ "$verMode" == "cluster" ]; then
pkg_name=${install_dir}-${version}-${osType}-${cpuType} pkg_name=${install_dir}-${osType}-${cpuType}
elif [ "$verMode" == "edge" ]; then elif [ "$verMode" == "edge" ]; then
pkg_name=${install_dir}-${version}-${osType}-${cpuType} pkg_name=${install_dir}-${osType}-${cpuType}
else else
echo "unknow verMode, nor cluster or edge" echo "unknow verMode, nor cluster or edge"
exit 1 exit 1
......
...@@ -25,9 +25,9 @@ release_dir="${top_dir}/release" ...@@ -25,9 +25,9 @@ release_dir="${top_dir}/release"
#package_name='linux' #package_name='linux'
if [ "$verMode" == "cluster" ]; then if [ "$verMode" == "cluster" ]; then
install_dir="${release_dir}/TDengine-enterprise-server" install_dir="${release_dir}/TDengine-enterprise-server-${version}"
else else
install_dir="${release_dir}/TDengine-server" install_dir="${release_dir}/TDengine-server-${version}"
fi fi
# Directories and files. # Directories and files.
...@@ -138,9 +138,9 @@ fi ...@@ -138,9 +138,9 @@ fi
cd ${release_dir} cd ${release_dir}
if [ "$verMode" == "cluster" ]; then if [ "$verMode" == "cluster" ]; then
pkg_name=${install_dir}-${version}-${osType}-${cpuType} pkg_name=${install_dir}-${osType}-${cpuType}
elif [ "$verMode" == "edge" ]; then elif [ "$verMode" == "edge" ]; then
pkg_name=${install_dir}-${version}-${osType}-${cpuType} pkg_name=${install_dir}-${osType}-${cpuType}
else else
echo "unknow verMode, nor cluster or edge" echo "unknow verMode, nor cluster or edge"
exit 1 exit 1
......
...@@ -25,9 +25,9 @@ release_dir="${top_dir}/release" ...@@ -25,9 +25,9 @@ release_dir="${top_dir}/release"
#package_name='linux' #package_name='linux'
if [ "$verMode" == "cluster" ]; then if [ "$verMode" == "cluster" ]; then
install_dir="${release_dir}/PowerDB-enterprise-server" install_dir="${release_dir}/PowerDB-enterprise-server-${version}"
else else
install_dir="${release_dir}/PowerDB-server" install_dir="${release_dir}/PowerDB-server-${version}"
fi fi
# Directories and files. # Directories and files.
...@@ -184,9 +184,9 @@ fi ...@@ -184,9 +184,9 @@ fi
cd ${release_dir} cd ${release_dir}
if [ "$verMode" == "cluster" ]; then if [ "$verMode" == "cluster" ]; then
pkg_name=${install_dir}-${version}-${osType}-${cpuType} pkg_name=${install_dir}-${osType}-${cpuType}
elif [ "$verMode" == "edge" ]; then elif [ "$verMode" == "edge" ]; then
pkg_name=${install_dir}-${version}-${osType}-${cpuType} pkg_name=${install_dir}-${osType}-${cpuType}
else else
echo "unknow verMode, nor cluster or edge" echo "unknow verMode, nor cluster or edge"
exit 1 exit 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册