Skip to content
Snippets Groups Projects
Commit c15aa47b authored by Bensong Liu's avatar Bensong Liu
Browse files

bug fix

parent 22711b0c
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
_vw_bin_name="$0"
_vw_version_major="1"
_vw_version_minor="5"
_vw_version_minor="6"
_vw_version_ext=""
_vw_version="${_vw_version_major}.${_vw_version_minor}${_vw_version_ext}"
......@@ -91,7 +91,7 @@ function where_is_him () {
function where_am_i () {
_my_path=`type -p ${_vw_bin_name}`
where_is_him "$_my_path"
[[ "$_my_path" = "" ]] && where_is_him "$_vw_bin_name" || where_is_him "$_my_path"
}
function naive_opt () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment