Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bensong Liu committed Mar 25, 2021
1 parent 22711b0 commit c15aa47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vivado-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down Expand Up @@ -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 () {
Expand Down

0 comments on commit c15aa47

Please sign in to comment.