mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-12 14:06:37 +08:00
* ltmain.in ($PATH): Expand any tildes in the users path to the
contents of $HOME to avoid problems with *_cmds splitting and evaluation.
This commit is contained in:
parent
64d868411f
commit
85e85038a1
@ -1,3 +1,9 @@
|
||||
1999-03-25 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
|
||||
|
||||
* ltmain.in ($PATH): Expand any tildes in the users path to the
|
||||
contents of $HOME to avoid problems with *_cmds splitting and
|
||||
evaluation.
|
||||
|
||||
1999-03-24 Thomas Tanner <tanner@gmx.de>
|
||||
|
||||
* TODO: support -dlopen for libraries
|
||||
|
@ -90,6 +90,13 @@ if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# A little paranoid perhaps...
|
||||
[ "${HOME+set}" ] || HOME=`cd && pwd`
|
||||
|
||||
# Apparently some people optimistically hardcode `~' in their path, and
|
||||
# hope that their tools will interpret it correctly. We mustn't disappoint!
|
||||
eval PATH=`echo "$PATH" | sed 's,^~/,$HOME/,;s,:~/,:$HOME/,g'`
|
||||
|
||||
# Global variables.
|
||||
mode=$default_mode
|
||||
nonopt=
|
||||
|
Loading…
Reference in New Issue
Block a user