mirror of
https://https.git.savannah.gnu.org/git/autoconf.git
synced 2026-01-26 15:03:22 +00:00
Quote $OLDPWD in doc
Problem reported by Florian Weimer in: https://lists.gnu.org/r/autoconf/2025-07/msg00008.html
This commit is contained in:
parent
b1eb59a78a
commit
13698e2554
@ -17880,7 +17880,7 @@ avoid it for the same reason they avoid @option{-P}.
|
||||
@evindex PWD
|
||||
POSIX says that a successful @command{cd} updates the values of the
|
||||
@env{OLDPWD} and @env{PWD} variables, and that @command{cd -} acts like
|
||||
@command{cd $OLDPWD}. Older shells, such as Solaris 10
|
||||
@command{cd "$OLDPWD"}. Older shells, such as Solaris 10
|
||||
@command{/bin/sh}, do not support this and portable scripts should not
|
||||
rely on it.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user