diff lisp/net/tramp.el @ 68820:3a5ea93ff8b4

* net/tramp.el (tramp-remote-path): Add "/usr/xpg4/bin" on top, because on Solaris a POSIX compatible "id" is needed. Reported by Magnus Henoch <mange@freemail.hu>.
author Michael Albinus <michael.albinus@gmx.de>
date Sun, 12 Feb 2006 20:22:28 +0000
parents 74a3e3db0759
children 2578326defd6 d57ee9eab157
line wrap: on
line diff
--- a/lisp/net/tramp.el	Sun Feb 12 20:22:05 2006 +0000
+++ b/lisp/net/tramp.el	Sun Feb 12 20:22:28 2006 +0000
@@ -836,8 +836,10 @@
   :type 'string)
 
 (defcustom tramp-remote-path
-  '("/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin" "/usr/ccs/bin"
-    "/local/bin" "/local/freeware/bin" "/local/gnu/bin"
+  ;; "/usr/xpg4/bin" has been placed first, because on Solaris a POSIX
+  ;; compatible "id" is needed.
+  '("/usr/xpg4/bin" "/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin"
+    "/usr/ccs/bin" "/local/bin" "/local/freeware/bin" "/local/gnu/bin"
     "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin")
   "*List of directories to search for executables on remote host.
 Please notify me about other semi-standard directories to include here.
@@ -1735,7 +1737,7 @@
 (defvar tramp-perl-encode
   "%s -e '
 # This script contributed by Juanma Barranquero <lektu@terra.es>.
-# Copyright (C) 2006 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2006 Free Software Foundation, Inc.
 use strict;
 
 my %%trans = do {
@@ -1777,7 +1779,7 @@
 (defvar tramp-perl-decode
   "%s -e '
 # This script contributed by Juanma Barranquero <lektu@terra.es>.
-# Copyright (C) 2006 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2006 Free Software Foundation, Inc.
 use strict;
 
 my %%trans = do {