diff options
| author | Michael Albinus | 2019-02-14 12:36:18 +0100 |
|---|---|---|
| committer | Michael Albinus | 2019-02-14 12:36:18 +0100 |
| commit | ef718cbe9efde657903054d04cfc6aacb26d5100 (patch) | |
| tree | 47f7a3a24b087a1953b1b6a1ce13cc6d8aa60341 | |
| parent | fabfb54d1f60cf90e72b1efaabfbefbe877e076a (diff) | |
| download | emacs-ef718cbe9efde657903054d04cfc6aacb26d5100.tar.gz emacs-ef718cbe9efde657903054d04cfc6aacb26d5100.zip | |
Adapt tramp-adb-handle-set-file-times
* lisp/net/tramp-adb.el (tramp-adb-handle-set-file-times):
Use 'touch -d', 'touch -t' does not seem to work. Use Universal Time.
| -rw-r--r-- | lisp/net/tramp-adb.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/tramp-adb.el b/lisp/net/tramp-adb.el index f8b0505b41b..22f2c5f6bf1 100644 --- a/lisp/net/tramp-adb.el +++ b/lisp/net/tramp-adb.el | |||
| @@ -679,8 +679,8 @@ But handle the case, if the \"test\" command is not available." | |||
| 679 | (current-time) | 679 | (current-time) |
| 680 | time))) | 680 | time))) |
| 681 | (tramp-adb-send-command-and-check | 681 | (tramp-adb-send-command-and-check |
| 682 | v (format "touch -t %s %s" | 682 | v (format "touch -d %s %s" |
| 683 | (format-time-string "%Y%m%d%H%M.%S" time) | 683 | (format-time-string "%Y-%m-%dT%H:%M:%S" time t) |
| 684 | (tramp-shell-quote-argument localname)))))) | 684 | (tramp-shell-quote-argument localname)))))) |
| 685 | 685 | ||
| 686 | (defun tramp-adb-handle-copy-file | 686 | (defun tramp-adb-handle-copy-file |