I'm not sure I understand why you'd want to do this, the behaviour of an installation script should not depend on the current directory. If I install an rpm from ~, I expect it to behave in the same way as if I install it from /tmp or any other directory.
|