jhalfs tar-1.15

George Boudreau georgeb at linuxfromscratch.org
Fri Mar 17 15:52:27 PST 2006



M.Canales.es wrote:
> El Sábado, 18 de Marzo de 2006 00:19, George Boudreau escribió:
>> Manuel,
>>    you mentioned you might revisit the tar commands since they may be
>> simplified with the 1.15 version of tar.
> 
> Yes, that meant that "define unpack" can be equal to "define unpack3", thus 
> the numeration of all that function should be changed. Also,  could allow to 
> make all the code agnostic about the packages format.
> 
> That remember me that we need same way to not bomb when the same package is 
> found in both formats into the sources dir.

   A possible work around .. 'assuming' only xxx.tar.gz or xxx.tar.bz2
   for f in ${1}.tar.*; do
     tar -xvf $f > /tmp/unpacked
     break # do once and leave
   done
>  
> 



More information about the alfs-discuss mailing list