When trying to emege the current linux-wlan-ng-0.1.16_pre9.ebuild, the ebuild tries to download pcmcia-cs-command.tar.gz insted of using the correct version installed on the system. Reproducible: Always Steps to Reproduce: 1.emerge linux-wlan-ng 2. 3. Actual Results: >> emerge -f linux-wlan-ng Calculating dependencies ...done! >>> emerge (1 of 1) net-wireless/linux-wlan-ng-0.1.16_pre9 to / >>> Downloading ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo/distfiles/pcmcia-cs-command.tar.gz --22:53:10-- ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo/distfiles/pcmcia-cs-command.tar.gz => `/usr/portage/distfiles/pcmcia-cs-command.tar.gz' Resolving ftp.ibiblio.org... done. Connecting to ftp.ibiblio.org[152.2.210.81]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/linux/distributions/gentoo/distfiles ... done. ==> PASV ... done. ==> RETR pcmcia-cs-command.tar.gz ... No such file `pcmcia-cs-command.tar.gz'. Expected Results: Downloaded the tarball for the pcmcia-cs currently installed on the system if it want on the system already.
Found a fix for whats wrong. You need to drop the double qoutes on the PCMCIA_VERSION="`$(which cardmgr) -V 2>&1 | cut -f3 -d' '`" line to make it PCMCIA_VERSION=`$(which cardmgr) -V 2>&1 | cut -f3 -d' '` else the command grabs the "command" (field 3) from the '-bash: 3.2.3: command not found' error
Changed. Thank you.