[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tramp] tramp-adb-program problem
From: |
Michael Albinus |
Subject: |
Re: [tramp] tramp-adb-program problem |
Date: |
Thu, 28 Feb 2013 20:36:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Neal Becker <address@hidden> 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.