case ${filetype} in *tar\ archive) tail -n +${skip} ${src} | tar -xf - ;; bzip2*) tail -n +${skip} ${src} | bzip2 -dc | tar -xf - ;; gzip*) tail -n +${skip} ${src} | tar -xzf - ;; *) false ;; esac
exit 0
Jerry McBride wrote:
Had a syntax error turn up in /usr/portage/eclass/eutils.eclass tuesday morning when emergeing the latest mm-sources...
Down around line 977... it's missing ";;" in a case structure that evaluates bzip's... Why this hasn't turned up before is a puzzle...
So far, it's turned up on three gentoo boxes...
For the newbies, here's what the FIXED case block looks like:
case ${filetype} in *tar\ archive) tail -n +${skip} ${src} | tar -xf - ;; bzip2*) tail -n +${skip} ${src} | bzip2 -dc | tar -xf - ;; gzip*) tail -n +${skip} ${src} | tar -xzf - ;; *) false ;; esac
P.S. Running the latest versions of everything on my gentoos...
-- [EMAIL PROTECTED] mailing list