Revert 'tidyup' which broke the use of relative paths in the config system.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/branches/stable@25845 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-01-03 14:58:50 +00:00
parent 27036fbcd8
commit 2ec8419e66
2 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-01-03 Richard Frith-Macdonald <rfm@gnu.org>
* relative_path.sh: Revert previous change as it broke the use of
relative paths within the configuration system ... critical for
ms-windows systems where relative paths are used by default!
2008-01-01 Adam Fedor <fedor@gnu.org>
* Version 2.0.3.

View file

@ -147,11 +147,16 @@ if [ -z "$a" ]; then
fi
# Now add as many ../ as there are components in a
# NB. If result was a single dot (current directory) then we need to
# retain it so we have a path of the form './xxx' since the leading
# './' is required to tell our software to prepend the location of
# the config file to the relative path in order to obtain an absolute
# path.
tmp_IFS="$IFS"
IFS=/
for component in $a; do
if [ -n "$component" -a "$component" != "." ]; then
if [ "$result" = "." ]; then
if [ -z "$result" ]; then
result=".."
else
result="$result/.."