*** /home/albinus/src/tramp/lisp/tramp.el.~2.625.~ 2008-01-27 15:43:19.000000000 +0100 --- /home/albinus/src/tramp/lisp/tramp.el 2008-01-28 21:41:02.000000000 +0100 *************** *** 3781,3787 **** (command &optional output-buffer error-buffer) "Like `shell-command' for Tramp files." (let* ((asynchronous (string-match "[ \t]*&[ \t]*\\'" command)) ! (args (split-string (substring command 0 asynchronous) " ")) (output-buffer (cond ((bufferp output-buffer) output-buffer) --- 3781,3789 ---- (command &optional output-buffer error-buffer) "Like `shell-command' for Tramp files." (let* ((asynchronous (string-match "[ \t]*&[ \t]*\\'" command)) ! ;; We cannot use `shell-file-name' and `shell-command-switch', ! ;; they are variables of the local host. ! (args (list "/bin/sh" "-c" (substring command 0 asynchronous))) (output-buffer (cond ((bufferp output-buffer) output-buffer)