Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cf621068
Commit
cf621068
authored
Dec 28, 2018
by
Michael Albinus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/net/tramp-sh.el (tramp-set-remote-path): Handle platforms w/o getconf.
parent
8167316f
Pipeline
#388
failed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lisp/net/tramp-sh.el
lisp/net/tramp-sh.el
+4
-2
No files found.
lisp/net/tramp-sh.el
View file @
cf621068
...
...
@@ -3960,8 +3960,10 @@ variable PATH."
(
format
"PATH=%s; export PATH"
(
mapconcat
'identity
(
tramp-get-remote-path
vec
)
":"
)))
(
pipe-buf
(
with-tramp-connection-property
vec
"pipe-buf"
(
tramp-send-command-and-read
vec
"getconf PIPE_BUF /"
)))
(
or
(
with-tramp-connection-property
vec
"pipe-buf"
(
tramp-send-command-and-read
vec
"getconf PIPE_BUF / 2>/dev/null || echo nil"
'noerror
))
4096
))
tmpfile
)
(
tramp-message
vec
5
"Setting $PATH environment variable"
)
(
if
(
<
(
length
command
)
pipe-buf
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment