Lines Matching refs:PWD
406 # Assumes that uname_s, uname_m, and PWD have been set.
446 # PWD or search the PATH.
451 */*) HOST_SH="${PWD}/${HOST_SH}"
536 # If $PWD is a valid name of the current directory, POSIX mandates
538 # presence of symlinks. Unsetting PWD is simpler than changing
542 # And the standard says altering PWD produces unspecified results
543 # So instead just cd -P to $PWD which should make PWD be symlink free
545 cd -P "${PWD}" || bomb "Cannot cd to \$PWD ($PWD)"
546 # At this point TOP=$PWD should just work, but let's be ultra safe.
2489 pkgroot=$(unset PWD; cd "${pkgroot}" &&