[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MinGW & Xsed
From: |
Gary V. Vaughan |
Subject: |
Re: MinGW & Xsed |
Date: |
Sun, 03 Oct 2004 12:04:08 +0100 |
User-agent: |
Mozilla Thunderbird 0.8 (Macintosh/20040913) |
Hi Bob!
Bob Friesenhahn wrote:
Under MinGW, Xsed is defined:
Xsed="$SED -e s/^X//"
What are file, ECHO and SED set to for you?
but this code is using it like:
# If the file is missing, and there is a .exe on the end, strip it
# because it is most likely a libtool script we actually want to
# install
stripped_ext=""
case $file in
*.exe)
if test ! -f "$file"; then
file=`$ECHO "X$file"| $Xsed -e 's,.exe$,,'`
stripped_ext=".exe"
fi
;;
esac
This seems to cause libtool to hang.
Does it also hang from the command line?
What about echo foo.exe | sed -e 's,\.exe$,,'?
Or echo Xfoo.exe | sed -e 's/^X//;s,\.exe$,,'?
Or other combinations getting gradually closer to the expansion of the
actual code in ltmain.sh?
Cheers,
Gary.
--
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature
- MinGW & Xsed, Bob Friesenhahn, 2004/10/02
- Re: MinGW & Xsed,
Gary V. Vaughan <=