There is one non-xorg project (libevdev) upon which xorg depends that is using this format. Most likely others will follow.
Signed-off-by: Gaetan Nadon <[email protected]> --- build.sh | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 0349254..6c6deb0 100755 --- a/build.sh +++ b/build.sh @@ -251,16 +251,23 @@ checkfortars() { ;; esac for ii in $module .; do - for jj in bz2 gz; do + for jj in bz2 gz xz; do TARFILE=`ls -1rt $ii${component:+/}$component-*.tar.$jj 2> /dev/null | tail -n 1` if [ X"$TARFILE" != X ]; then SRCDIR=`echo $TARFILE | sed "s,.tar.$jj,,"` SRCDIR=`echo $SRCDIR | sed "s,MesaLib,Mesa,"` if [ ! -d $SRCDIR ]; then - TAROPTS=xjf - if [ X"$jj" = X"gz" ]; then - TAROPTS=xzf - fi + case $jj in + "bz2") + TAROPTS=xjf + ;; + "gz") + TAROPTS=xzf + ;; + "xz") + TAROPTS=xJf + ;; + esac tar $TAROPTS $TARFILE -C $ii if [ $? -ne 0 ]; then failed tar $module $component -- 1.7.9.5 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
