From 7381fc59bbc533454c53513c4c9cb6a89ef1f066 Mon Sep 17 00:00:00 2001 From: Ralf Yang Date: Wed, 6 Jul 2016 15:46:28 +0900 Subject: [PATCH] update for some gap-line of FIND option --- 1_zinst_starters_package/zinst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/1_zinst_starters_package/zinst b/1_zinst_starters_package/zinst index 0d28c06..b219591 100755 --- a/1_zinst_starters_package/zinst +++ b/1_zinst_starters_package/zinst @@ -26,7 +26,7 @@ ZinstSourceDir="$ZinstBaseRoot/vault/Source" ## ENV LD_LIBRARY_PATH /lib-override ## Base information -VERSION=5.1.9 +VERSION=5.2.0 zinst_group="wheel" sudo_base="sudo" zinst_log="/dev/null" @@ -1669,7 +1669,8 @@ Pkg_Find(){ Repo_chk=`$sudo_base curl -e --url $Dist_URL/ 2> $zinst_log | grep " zinst"` Sort_version='--version-sort' -echo ""| sort $Sort_version 2> /tmp/sort_check.out +## sort option check +echo ""| sort $Sort_version 1>&2 > /tmp/sort_check.out if [[ `(grep "unrecognized" /tmp/sort_check.out )` != "" ]];then Sort_version="" @@ -2243,7 +2244,7 @@ echo " ex) zinst i sample-1.0.0.zinst -h web01.news.kr[1,3] web[03-12].news[1,3] echo "------------------------------------------------------------------------------------------------------ " echo " * Current zinst setup: [ Repo: $Dist_URL - $ManagerIP ], [ ROOT-DIR: $ZinstBaseRoot ]" echo "------------------------------------------------------------------------------------------------------ " - +echo " Version: $VERSION " echo " " ### Hidden function for Multi-tasking on multiful host -multi option ### But it's not stable on some function