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.
This commit is contained in:
parent
fabfb54d1f
commit
ef718cbe9e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue