mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Use a more portable syntax for subcommands (xxx
rather than $(xxx));
fixed case of paths with no common path in common git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@13848 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b82b680344
commit
4aa67de2e7
1 changed files with 6 additions and 4 deletions
|
@ -98,10 +98,12 @@ for component in $b; do
|
|||
done
|
||||
IFS="$tmp_IFS"
|
||||
|
||||
# Now partial_match is the substring which matches (/xxx/yyy/) in the
|
||||
# example. Remove it from both a and b.
|
||||
a=$(echo $a | sed -e "s#$partial_match##")
|
||||
b=$(echo $b | sed -e "s#$partial_match##")
|
||||
if [ "$partial_match" != "" ]; then
|
||||
# Now partial_match is the substring which matches (/xxx/yyy/) in the
|
||||
# example. Remove it from both a and b.
|
||||
a=`echo $a | sed -e "s#$partial_match##"`
|
||||
b=`echo $b | sed -e "s#$partial_match##"`
|
||||
fi
|
||||
|
||||
# Ok - now ready to build the result
|
||||
result=""
|
||||
|
|
Loading…
Reference in a new issue