Make run-regression-tests work with older tar versions that do not support xz

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4000 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2011-12-19 14:23:33 +00:00
parent 14024e009d
commit a5c6ff869a

View File

@@ -78,7 +78,7 @@ function extract_kernel_tree {
mkdir "${tmpdir}" || return $?
(
cd "${tmpdir}" || return $?
tar xaf "${kernel_sources}/linux-$1.tar.xz" || return $?
{ xz -cd "${kernel_sources}/linux-$1.tar.xz" | tar xf -; } || return $?
mv "linux-$1" ".." || return $?
if [ "$1" = "2.6.29" -o "$1" = "2.6.29.1" -o "$1" = "2.6.29.2" -o "$1" = "2.6.29.3" ]
then