Fixup for relpath generation error when arguments are the same.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24740 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2007-03-01 16:59:37 +00:00
parent 3380a0e0f5
commit 3a16f3bf54
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-02-29 Richard Frith-Macdonald <rfm@gnu.org>
* relative_path.sh: Fix for the case where the tweo arguments are
identical paths.
2007-02-29 Richard Frith-Macdonald <rfm@gnu.org>
* common.make: Fixup -I (when in non-flattened mode) to use the

View file

@ -167,4 +167,11 @@ else
result="$b"
fi
# If there is no difference, there is no relative path to append,
# so we output './' to tell NSPathUtilities.m in gnustep-base to
# replace this with the path to the directory containing the library.
if [ "$result" = "." ]; then
result="./"
fi
echo "$result"