From 1226b08124bee5aaa77bb4f8c1416a247b62a19b Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Wed, 15 Sep 2010 11:39:11 +0000 Subject: [PATCH] [Development] Handle .tar.gz Mesa archives in build-xorg script correctly. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4134 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/build-xorg | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/unix/build-xorg b/unix/build-xorg index 764f14ae..98ee4587 100755 --- a/unix/build-xorg +++ b/unix/build-xorg @@ -97,7 +97,12 @@ update_modules() for module in ${modules}; do tar jxf ~/.tigervnc-xorg-$XORG_VERSION/${module}.tar.bz2 done - tar jxf ~/.tigervnc-xorg-$XORG_VERSION/Mesa.tar.bz2 + + [ -r ~/.tigervnc-xorg-$XORG_VERSION/Mesa.tar.bz2 ] && \ + tar jxf ~/.tigervnc-xorg-$XORG_VERSION/Mesa.tar.bz2 + [ -r ~/.tigervnc-xorg-$XORG_VERSION/Mesa.tar.gz ] && \ + tar zxf ~/.tigervnc-xorg-$XORG_VERSION/Mesa.tar.gz + tar jxf ~/.tigervnc-xorg-$XORG_VERSION/freetype.tar.bz2 tar jxf ~/.tigervnc-xorg-$XORG_VERSION/xorg-server.tar.bz2 cp -r $SRCDIR/unix/xserver xserver -- 2.39.5