diff options
| author | Paul Eggert | 2014-04-22 14:32:51 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-04-22 14:32:51 -0700 |
| commit | 42e910349d699ee3f8024371ca1e60e015fc6aa7 (patch) | |
| tree | ba589f3f7c278671f0ae9c5c8f15c241ae8dd674 /lisp/net | |
| parent | 4f96579371290b201a973072a1c2f237755bb954 (diff) | |
| parent | 34e856d5ac828753b7be20e2471f39fb613f7f40 (diff) | |
| download | emacs-42e910349d699ee3f8024371ca1e60e015fc6aa7.tar.gz emacs-42e910349d699ee3f8024371ca1e60e015fc6aa7.zip | |
Merge from emacs-24; up to 2014-04-22T20:19:17Z!eggert@cs.ucla.edu
Diffstat (limited to 'lisp/net')
| -rw-r--r-- | lisp/net/tramp-sh.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 3b600e3d84e..9c86c8c48bd 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -1734,7 +1734,7 @@ be non-negative integers." | |||
| 1734 | ;; wildcard. This will return "too many" entries | 1734 | ;; wildcard. This will return "too many" entries |
| 1735 | ;; but that isn't harmful. | 1735 | ;; but that isn't harmful. |
| 1736 | " || %s -a 2>/dev/null)" | 1736 | " || %s -a 2>/dev/null)" |
| 1737 | " | while read f; do" | 1737 | " | while IFS= read f; do" |
| 1738 | " if %s -d \"$f\" 2>/dev/null;" | 1738 | " if %s -d \"$f\" 2>/dev/null;" |
| 1739 | " then \\echo \"$f/\"; else \\echo \"$f\"; fi; done" | 1739 | " then \\echo \"$f/\"; else \\echo \"$f\"; fi; done" |
| 1740 | " && \\echo ok) || \\echo fail") | 1740 | " && \\echo ok) || \\echo fail") |
| @@ -2361,8 +2361,7 @@ The method used must be an out-of-band method." | |||
| 2361 | (append | 2361 | (append |
| 2362 | copy-args | 2362 | copy-args |
| 2363 | (list | 2363 | (list |
| 2364 | (shell-quote-argument source) | 2364 | source target |
| 2365 | (shell-quote-argument target) | ||
| 2366 | "&&" "echo" "tramp_exit_status" "0" | 2365 | "&&" "echo" "tramp_exit_status" "0" |
| 2367 | "||" "echo" "tramp_exit_status" "1")))))) | 2366 | "||" "echo" "tramp_exit_status" "1")))))) |
| 2368 | (tramp-message | 2367 | (tramp-message |