mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
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:
parent
3380a0e0f5
commit
3a16f3bf54
2 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue