mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
psusan manpage: add a PATH to the UML example.
Ian Jackson observes that if PATH is not set in the environment, current versions of bash will pick a default one that has "." as the last directory, which is generally considered a terrible idea: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991959 Work around this by specifying a more sensible default in our example script, per Ian's suggestion in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991960
This commit is contained in:
parent
84175f4aea
commit
9983ff53d5
@ -191,6 +191,9 @@ And the setup script \cw{uml-psusan.sh} might look like this:
|
|||||||
\c # Choose what shell you want to run inside psusan
|
\c # Choose what shell you want to run inside psusan
|
||||||
\e iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
|
\e iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
|
||||||
\c export SHELL=/bin/bash
|
\c export SHELL=/bin/bash
|
||||||
|
\c # Set up a default path
|
||||||
|
\e iiiiiiiiiiiiiiiiiiiiiii
|
||||||
|
\c export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
|
||||||
\c # And now run psusan over the serial port
|
\c # And now run psusan over the serial port
|
||||||
\e iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
|
\e iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
|
||||||
\c exec /home/simon/src/putty/misc/psusan
|
\c exec /home/simon/src/putty/misc/psusan
|
||||||
|
Loading…
Reference in New Issue
Block a user