Commit cc0fd417 authored by Jerzy Grzegorek's avatar Jerzy Grzegorek Committed by Peter Korsgaard
Browse files

apply-patches.sh: applying xz-ed patches



Signed-off-by: default avatarJerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
[yann.morin.1998@free.fr: space-damage]
Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent e5407614
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -23,8 +23,8 @@
# files than series file and archives are considered as a patch.
#
# Once a patch is found, the script will try to apply it. If its name doesn't
# end with '.gz', '.bz', '.bz2', '.zip', '.Z', '.diff*' or '.patch*', it will
# be skipped. If necessary, the patch will be uncompressed before being
# end with '.gz', '.bz', '.bz2', '.xz', '.zip', '.Z', '.diff*' or '.patch*',
# it will be skipped. If necessary, the patch will be uncompressed before being
# applied. The list of the patches applied is stored in '.applied_patches_list'
# file in the build directory.

@@ -59,6 +59,8 @@ function apply_patch {
	type="bzip"; uncomp="bunzip -dc"; ;; 
	*.bz2)
	type="bzip2"; uncomp="bunzip2 -dc"; ;; 
	*.xz)
	type="xz"; uncomp="unxz -dc"; ;;
	*.zip)
	type="zip"; uncomp="unzip -d"; ;; 
	*.Z)