[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9251: Fwd: Does Libtool 2.4 support Solaris 2.8?
From: |
Jeff Squyres |
Subject: |
bug#9251: Fwd: Does Libtool 2.4 support Solaris 2.8? |
Date: |
Fri, 5 Aug 2011 11:12:27 -0400 |
(I sent this yesterday, but it never showed up on the list archives and I never
got a re-sent copy of it, so I'm sending again. Pardon if it ends up being a
dup!)
-----
I see lots of references to old versions of Solaris in generated Libtool
scripts, but we've recently been told about a problem with the following with
Solaris 2.8's sh:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% cat ~/trans/basedir.sh
path="../libtool"
echo path____ $path
echo basename ${path##*/}
echo dirname_ ${path%/*}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% /bin/sh ~/trans/basedir.sh
path____ ../libtool
/export/home/andreask/trans/basedir.sh: bad substitution
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The ${foo##*/} pattern is used in the LT 2.4-generated libtool script (e.g., in
http://www.open-mpi.org/software/hwloc/v1.2/downloads/hwloc-1.2.tar.bz2).
Is this a known issue?
--
Jeff Squyres
address@hidden
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/