[PATCH 2 of 2] scripts/functions: add xz-ed linux tarballs

Jerzy Grzegorek jerzy.grzegorek@trzebnica.net
Thu Mar 21 10:15:00 GMT 2013


# HG changeset patch
# User "Jerzy Grzegorek" <jerzy.grzegorek@trzebnica.net>
# Date 1363860069 -3600
# Node ID d0ec17a687dc80754e0fb47c5163179ac5579b30
# Parent  f249828223fc75313bee8d21f6ec946b4384d9f0
scripts/functions: add xz-ed linux tarballs

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>

diff -r f249828223fc -r d0ec17a687dc scripts/functions
--- a/scripts/functions	Thu Mar 21 10:57:31 2013 +0100
+++ b/scripts/functions	Thu Mar 21 11:01:09 2013 +0100
@@ -638,6 +638,7 @@
         # so we can create a properly-named symlink, which
         # we use later on in 'extract'
         case "${custom_location}" in
+            *.tar.xz)       custom_name="${custom_name}.tar.xz";;
             *.tar.bz2)      custom_name="${custom_name}.tar.bz2";;
             *.tar.gz|*.tgz) custom_name="${custom_name}.tar.gz";;
             *.tar)          custom_name="${custom_name}.tar";;

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list