Lines Matching refs:cwd
197 cwd="`/bin/pwd 2> /dev/null`"
206 cd "$cwd"
373 if [ -z "$cwd" -o ! -d "$cwd" ] ; then
378 if [ "$HOME" -a -d "$HOME" ] && [ "`cd / ; cd "$HOME" ; /bin/pwd`" = "$cwd" ] ; then
379 cwd="$HOME"
380 elif [ "$PWD" -a -d "$PWD" ] && [ "`cd / ; cd "$PWD" ; /bin/pwd`" = "$cwd" ] ; then
381 cwd="$PWD"
385 PWD="$cwd"
396 ./*) arg0="$cwd/`expr "$arg0" : '\./\(.*\)'`" ;;
397 *) arg0="$cwd/$arg0" ;;