all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [tramp] tramp-adb-program problem
@ 2013-02-28 14:48 Neal Becker
  2013-02-28 19:36 ` Michael Albinus
  0 siblings, 1 reply; 2+ messages in thread
From: Neal Becker @ 2013-02-28 14:48 UTC (permalink / raw)
  To: emacs-devel

tramp-adb assumes adb is found in a subdir called 'platform-tools'.

Now some distributions (e.g., Fedora) ship adb and put into standard directories
(e.g., /usr/bin/adb)

Can we make tramp-adb more flexible to support this?  The current code says:

(defun tramp-adb-program ()
  "The Android Debug Bridge."
  (expand-file-name "platform-tools/adb" tramp-adb-sdk-dir))




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [tramp] tramp-adb-program problem
  2013-02-28 14:48 [tramp] tramp-adb-program problem Neal Becker
@ 2013-02-28 19:36 ` Michael Albinus
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Albinus @ 2013-02-28 19:36 UTC (permalink / raw)
  To: Neal Becker; +Cc: Jürgen Hötzel, emacs-devel

Neal Becker <ndbecker2@gmail.com> writes:

Hi Neal,

> tramp-adb assumes adb is found in a subdir called 'platform-tools'.
>
> Now some distributions (e.g., Fedora) ship adb and put into standard directories
> (e.g., /usr/bin/adb)
>
> Can we make tramp-adb more flexible to support this?  The current code says:
>
> (defun tramp-adb-program ()
>   "The Android Debug Bridge."
>   (expand-file-name "platform-tools/adb" tramp-adb-sdk-dir))

Good idea. I've made `tramp-adb-program' a customer option now. If adb
is found in $PATH, nothing to do; otherwise it shall contain the
absolute path of adb.

Best regards, Michael.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-28 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-28 14:48 [tramp] tramp-adb-program problem Neal Becker
2013-02-28 19:36 ` Michael Albinus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.