On Mon, 2003-02-24 at 12:25, Joe Stone wrote:
>
> you have a problem :-)
>
> have a look at linux-wlan-ng-0.1.16_pre9.ebuild:
>
> PCMCIA_VERSION="`cardmgr -V 2>&1 | cut -f3 -d' '`"
> PCMCIA_CS="pcmcia-cs-${PCMCIA_VERSION}"
> PCMCIA_DIR="${WORKDIR}/${PCMCIA_CS}"
>
> MY_P=${P/_/-}
> S=${WORKDIR}/${MY_P}
> DESCRIPTION="The linux-wlan Project"
> SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.gz
> pcmcia? ( mirror://sourceforge/pcmcia-cs/${PCMCIA_CS}.tar.gz)"
>
> the pcmcia file-name is beeing built out of ${PCMCIA_CS}.tar.gz
> PCMCIA_CS comes from "pcmcia-cs-${PCMCIA_VERSION}"
> and PCMCIA_VERSION from "`cardmgr -V 2>&1 | cut -f3 -d' '`"
>
> I tried to execute cardmgr -V with the following result:
> -bash: cardmgr: command not found
>
> So, it's clear, where this "command" comes from.
>
Hey sorry... the first time I did not understand properly what you
said.... This is very strange!!! I dont know why its printing out
pcmcia-cs-comand.tar.gz instead of pcmcia-cs-2.3.tar.gz.
I executed this commands on my root shell and I got the following
result.
mermaid root # cardmgr -V 2>&1 | cut -f3 -d' '
3.2.3
mermaid root # PCMCIA_VERSION="`cardmgr -V 2>&1 | cut -f3 -d' '`"
mermaid root # echo $PCMCIA_VERSION
3.2.3
mermaid root # PCMCIA_CS="pcmcia-cs-${PCMCIA_VERSION}"
mermaid root # echo $PCMCIA_CS
pcmcia-cs-3.2.3
mermaid root #
so why is it printing pcmcia-cs-command????? Any portage experts?
BTW I am using keyword ~x86 if that makes any difference.
meanwhile... I am thinking about patching the ebuild script as Joe
suggested.
Thanx a lot
Spundun
--
[EMAIL PROTECTED] mailing list