File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -172,14 +172,14 @@ testVersion() {
172
172
set +e
173
173
CLI=" $( which $PROJECT_NAME ) "
174
174
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
178
177
fail " An existing $PROJECT_NAME was found at $CLI . Please prepend " $LBINDIR " to your " ' $PATH' " or remove the existing one."
179
178
fi
179
+
180
180
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 "
183
183
}
184
184
185
185
You can’t perform that action at this time.
0 commit comments