Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the startup-script need the current working directory for the user extracting the archive OLDPWD will work with most shells. However, this is not always guaranteed to work. This patch records the content of PWD at the time the self-extracting script is run into USER_PWD. The startup-script can then more reliably use this environment variable. This approach have been tested on different versions of HPUX, AIX, Solaris, QNX Neutrino, Linux, and OS-X.
- Loading branch information