mirror of
https://github.com/samsonjs/mojo.el.git
synced 2026-03-25 09:25:49 +00:00
Changed mojo-emulator-responsive-p to use the absolute path of palm-install
This commit is contained in:
parent
e3758f154f
commit
7eeff45f6f
1 changed files with 2 additions and 2 deletions
|
|
@ -823,9 +823,9 @@ This command only works on Unix-like systems."
|
|||
|
||||
(defun mojo-emulator-responsive-p ()
|
||||
"Determine if the webOS emulator is able to respond to commands yet.
|
||||
|
||||
(i.e. if it's done booting)."
|
||||
(= 0 (shell-command "palm-install -d tcp --list >/dev/null 2>&1")))
|
||||
(= 0 (shell-command (concat (mojo-path-to-cmd "palm-install") " -d tcp --list >/dev/null 2>&1"))))
|
||||
|
||||
|
||||
(defun mojo-path-to-cmd (cmd)
|
||||
"Return the absolute path to a Mojo SDK command line program."
|
||||
|
|
|
|||
Loading…
Reference in a new issue