projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fabfb54
)
Adapt tramp-adb-handle-set-file-times
author
Michael Albinus
<michael.albinus@gmx.de>
Thu, 14 Feb 2019 11:36:18 +0000
(12:36 +0100)
committer
Michael Albinus
<michael.albinus@gmx.de>
Thu, 14 Feb 2019 11:36:18 +0000
(12:36 +0100)
* lisp/net/tramp-adb.el (tramp-adb-handle-set-file-times):
Use 'touch -d', 'touch -t' does not seem to work. Use Universal Time.
lisp/net/tramp-adb.el
patch
|
blob
|
history
diff --git
a/lisp/net/tramp-adb.el
b/lisp/net/tramp-adb.el
index f8b0505b41b2e1c83d0b38033b93dcbfc315f0e4..22f2c5f6bf1410851a5d0831b7e085acf1dbcf42 100644
(file)
--- 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."
(current-time)
time)))
(tramp-adb-send-command-and-check
- v (format "touch -
t
%s %s"
- (format-time-string "%Y
%m%d%H%M.%S" time
)
+ v (format "touch -
d
%s %s"
+ (format-time-string "%Y
-%m-%dT%H:%M:%S" time t
)
(tramp-shell-quote-argument localname))))))
(defun tramp-adb-handle-copy-file