Installer grep bug in today's install.sh

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Installer grep bug in today's install.sh

jcalcote
Hi Yaguang,

I updated to the very latest on master this afternoon (MST) and found the following bug in the installer:

--- install.sh.orig     2015-12-18 19:32:54.426669506 -0700
+++ install.sh  2015-12-18 19:29:04.702663458 -0700
@@ -149,10 +149,10 @@
         exit 1
     fi
     cd vsmrepo
-    IS_PYTHON_VSMCLIENT=`ls|grep python-vsmclient*.deb|wc -l`
+    IS_PYTHON_VSMCLIENT=`ls|grep python-vsmclient.*.deb|wc -l`
     IS_VSM=`ls|grep -v python-vsmclient|grep -v vsm-dashboard|grep -v vsm-deploy|grep vsm|wc -l`
-    IS_VSM_DASHBOARD=`ls|grep vsm-dashboard*.deb|wc -l`
-    IS_VSM_DEPLOY=`ls|grep vsm-deploy*.deb|wc -l`
+    IS_VSM_DASHBOARD=`ls|grep vsm-dashboard.*.deb|wc -l`
+    IS_VSM_DEPLOY=`ls|grep vsm-deploy.*.deb|wc -l`
     if [[ $IS_PYTHON_VSMCLIENT -gt 0 ]] && [[ $IS_VSM -gt 0 ]] &&\
         [[ $IS_VSM_DASHBOARD -gt 0 ]] && [[ $IS_VSM_DEPLOY -gt 0 ]]; then
         echo "The vsm pachages have been already prepared"
Reply | Threaded
Open this post in threaded view
|

RE: Installer grep bug in today's install.sh

ywang19
Administrator

Merged.

 

From: jcalcote [via vsm-discuss] [mailto:ml-node+[hidden email]]
Sent: Saturday, December 19, 2015 9:49 AM
To: Wang, Yaguang
Subject: Installer grep bug in today's install.sh

 

Hi Yaguang,

I updated to the very latest on master this afternoon (MST) and found the following bug in the installer:

 
--- install.sh.orig     2015-12-18 19:32:54.426669506 -0700
+++ install.sh  2015-12-18 19:29:04.702663458 -0700
@@ -149,10 +149,10 @@
         exit 1
     fi
     cd vsmrepo
-    IS_PYTHON_VSMCLIENT=`ls|grep python-vsmclient*.deb|wc -l`
+    IS_PYTHON_VSMCLIENT=`ls|grep python-vsmclient.*.deb|wc -l`
     IS_VSM=`ls|grep -v python-vsmclient|grep -v vsm-dashboard|grep -v vsm-deploy|grep vsm|wc -l`
-    IS_VSM_DASHBOARD=`ls|grep vsm-dashboard*.deb|wc -l`
-    IS_VSM_DEPLOY=`ls|grep vsm-deploy*.deb|wc -l`
+    IS_VSM_DASHBOARD=`ls|grep vsm-dashboard.*.deb|wc -l`
+    IS_VSM_DEPLOY=`ls|grep vsm-deploy.*.deb|wc -l`
     if [[ $IS_PYTHON_VSMCLIENT -gt 0 ]] && [[ $IS_VSM -gt 0 ]] &&\
         [[ $IS_VSM_DASHBOARD -gt 0 ]] && [[ $IS_VSM_DEPLOY -gt 0 ]]; then
         echo "The vsm pachages have been already prepared"

 


If you reply to this email, your message will be added to the discussion below:

http://vsm-discuss.33411.n7.nabble.com/Installer-grep-bug-in-today-s-install-sh-tp310.html

To start a new topic under vsm-discuss, email [hidden email]
To unsubscribe from vsm-discuss, click here.
NAML