Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Commit

Permalink
KVM list on linux should include symlinks in search
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Hurdugaci committed Dec 2, 2014
1 parent d3e4df4 commit 3de6097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ kvm()
printf "$formatString" "------" "-------" "-------" "--------" "-----"

local formattedHome=`(echo $KRE_USER_PACKAGES | sed s=$HOME=~=g)`
for f in $(find $KRE_USER_PACKAGES -name "$searchGlob" -type d -prune -exec basename {} \;); do
for f in $(find $KRE_USER_PACKAGES -name "$searchGlob" \( -type d -or -type l \) -prune -exec basename {} \;); do
local active=""
[[ $PATH == *"$KRE_USER_PACKAGES/$f/bin"* ]] && local active=" *"
local pkgName=$(_kvm_package_runtime "$f")
Expand Down

0 comments on commit 3de6097

Please sign in to comment.