Hi KP on 14.10.2013 18:51, KP Kirchdörfer wrote: > Am Montag, 14. Oktober 2013, 18:32:02 schrieb Erich Titl: >> on 14.10.2013 16:41, KP Kirchdörfer wrote: ...
>> >> ./getdirname.pl >> /data/leaf/devel/leaf.new/bering-uclibc/source/i486-unknown-linux-uclibc/lin >> ux/linux-3.4.tar.xz unsupported file type data > > I'm afraid you're build host "file" utilty does not detect "*xz" files. Sure, I know, that is why I changed the .xz detection in setup-builddir. -filetype=$(file -L --brief "$tarfile") +#filetype=$(file -L --brief "$tarfile") -case ${filetype,,} in # convert to lowercase +filetype="${tarfile##*.} " This is just old fashioned shell code and is unfortunately only based on the file suffix. But it would work in any old distro. > (you may check > > "# file /data/leaf/devel/leaf.new/bering-uclibc/repo/linux/linux-3.4.tar.xz" > > to verify. > > In the last year buildtool moved in a lot of places to use xz files cause the > source tarballs are a lot smaller. I know and creating headaches to lots of people. I hoped I could get away without compiling find. I hope we will not get the next .xyzork type files just because it saves a few bytes. cheers Erich
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel