aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/tramp-sh.el5
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