Use `pwd` in place of $PWD, treewide.
authorBen Pfaff <blp@nicira.com>
Mon, 12 Mar 2012 17:23:36 +0000 (10:23 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 13 Mar 2012 16:34:55 +0000 (09:34 -0700)
commit37d034580ad38d61f81559a5cd03d11b5468762a
tree3bd65990bcf3af3a99ba27d1060e37250aeb2a46
parent4807bca9553b47e4213a85740b02ceff7f71aa6b
Use `pwd` in place of $PWD, treewide.

The Autoconf manual says:

     Posix 1003.1-2001 requires that `cd' and `pwd' must update the
     `PWD' environment variable to point to the logical name of the
     current directory, but traditional shells do not support this.
     This can cause confusion if one shell instance maintains `PWD' but
     a subsidiary and different shell does not know about `PWD' and
     executes `cd'; in this case `PWD' points to the wrong directory.
     Use ``pwd`' rather than `$PWD'.

so this commit replaces all uses of $PWD by `pwd`.

Reported-by: Justin Pettit <jpettit@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
13 files changed:
rhel/openvswitch-kmod-rhel5.spec.in
rhel/openvswitch-kmod-rhel6.spec.in
tests/daemon.at
tests/interface-reconfigure.at
tests/jsonrpc.at
tests/ofproto-macros.at
tests/ovs-vsctl.at
tests/ovsdb-idl.at
tests/ovsdb-monitor.at
tests/ovsdb-server.at
tests/ovsdb-tool.at
tests/unixctl-py.at
utilities/ovs-pki.in