Commit 06378e77 authored by Ondrej Baranovič's avatar Ondrej Baranovič Committed by Andrew Murray
Browse files

fix untar for tar.xz files

parent 45d97819
...@@ -200,7 +200,7 @@ function untar { ...@@ -200,7 +200,7 @@ function untar {
gz|tgz) tar -zxf $in_fname ;; gz|tgz) tar -zxf $in_fname ;;
bz2) tar -jxf $in_fname ;; bz2) tar -jxf $in_fname ;;
zip) unzip -qq $in_fname ;; zip) unzip -qq $in_fname ;;
xz) unxz -c $in_fname | tar -xf ;; xz) unxz -c $in_fname | tar -xf - ;;
*) echo Did not recognize extension $extension; exit 1 ;; *) echo Did not recognize extension $extension; exit 1 ;;
esac esac
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment