diff --git a/scripts/run-nebula-vm.sh b/scripts/run-nebula-vm.sh index c9cdef5..2192ef3 100644 --- a/scripts/run-nebula-vm.sh +++ b/scripts/run-nebula-vm.sh @@ -35,11 +35,6 @@ resolve_shell() { return 0 fi - if command -v nebula-shell >/dev/null 2>&1; then - command -v nebula-shell - return 0 - fi - for candidate in \ "${repo_root}/shells/desktop/shell/build/nebula-shell" \ "${repo_root}/build/nebula-shell" \ @@ -52,6 +47,11 @@ resolve_shell() { fi done + if command -v nebula-shell >/dev/null 2>&1; then + command -v nebula-shell + return 0 + fi + return 1 }