Lines Matching refs:cwd
319 cwd="`/bin/pwd 2> /dev/null`"
328 cd "$cwd"
566 if [ -z "$cwd" -o ! -d "$cwd" ] ; then
571 if [ "$HOME" -a -d "$HOME" ] && [ "`cd / ; cd "$HOME" ; /bin/pwd`" = "$cwd" ] ; then
572 cwd="$HOME"
573 elif [ "$PWD" -a -d "$PWD" ] && [ "`cd / ; cd "$PWD" ; /bin/pwd`" = "$cwd" ] ; then
574 cwd="$PWD"
578 PWD="$cwd"
589 ./*) arg0="$cwd/`expr "$arg0" : '\./\(.*\)'`" ;;
590 *) arg0="$cwd/$arg0" ;;