|
From: | Akim Demaille |
Subject: | Re: Libtool-patches Digest, Vol 25, Issue 12 |
Date: | Wed, 08 Dec 2004 09:23:38 +0100 |
User-agent: | Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) |
>>> "libtool-patches-request" == libtool-patches-request <address@hidden> >>> writes: > @@ -1493,8 +1498,8 @@ > *.lo) > # Just add the directory containing the .lo file. > - dir=`$ECHO "X$file" | $Xsed -e 's%/[[^/]]*$%%'` > - test "X$dir" = "X$file" && dir=. > + func_dirname "$file" "" "." > + dir="$func_dirname_result" > ;; > *) I don't understand why you don't write functions that send their result on stdout. That would be more readable. Are there any portability issues? Is it because of embedded quotes? Here there don't seem to be any problem. dir=`func_dirname "$file" "" "."`
[Prev in Thread] | Current Thread | [Next in Thread] |