File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -172,14 +172,14 @@ testVersion() {
172172 set +e
173173 CLI=" $( which $PROJECT_NAME ) "
174174 if [ " $? " = " 1" ]; then
175- fail " $PROJECT_NAME not found. Did you add " $LBINDIR " to your " ' $PATH?'
176- fi
177- if [ $CLI != " $LBINDIR /$PROJECT_NAME " ]; then
175+ echo " $PROJECT_NAME not found. You might want to add " $LBINDIR " to your " ' $PATH'
176+ elif [ $CLI != " $LBINDIR /$PROJECT_NAME " ]; then
178177 fail " An existing $PROJECT_NAME was found at $CLI . Please prepend " $LBINDIR " to your " ' $PATH' " or remove the existing one."
179178 fi
179+
180180 set -e
181- CLI_VERSION=$( $PROJECT_NAME version)
182- echo " $CLI_VERSION installed successfully"
181+ CLI_VERSION=$( $LBINDIR / $ PROJECT_NAME version)
182+ echo " $CLI_VERSION installed successfully in $LBINDIR "
183183}
184184
185185
You can’t perform that action at this time.
0 commit comments