contents of $HOME to avoid problems with *_cmds splitting and
evaluation.
+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>
* doc/PLATFORMS: Erez Zadok reported that libtool works on bsdi 4.0.1
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=