On Monday 24 January 2005 00:08, Thomas de Grenier de Latour wrote: > What about: > > if [ ! -e ${DISTFILES}/bash-3.0.tar.bz2 ] > then > eerror \ > "I could not find the bash-3.0.tar.bz2 file. Please do:" > eerror \ > "# ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild fetch" > die "Please fetch bash sources." > fi
I've only added ${DISTFILES} to the eerror-output: if [ ! -e ${DISTFILES}/bash-3.0.tar.gz ]; then eerror "I could not find the file ${DISTFILES}/bash-3.0.tar.gz. Please do:" eerror "# ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild fetch" die "Please fetch bash sources." fi the code above says on my machine: * I could not find the /bash-3.0.tar.gz file. Please do: * # ebuild /var/db/pkg/app-portage/basc-1.5.8/basc-1.5.8.ebuild fetch So, ${DISTFILES} is empty here?? Why that? -- http://de.gentoo-wiki.com Alexander Mieland (aka dma147) http://www.gentoo-stats.org Registered Linux-User #249600 http://www.php-programs.de GnuGPG-ID: 27491179 http://www.affen-in-not.de www.php-programs.de/dma147.asc
pgpCEhpvW8LyN.pgp
Description: PGP signature