For scons, windows/mingw dealing with LLVM_CONFIG is done before
untarring. This is also more convenient for copy and paste.
Cc: Emil Velikov <emil.velikov@collabora.com>
Cc: Juan A. Suarez Romero <jasuarez@igalia.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
        cd .. && rm -rf mesa-$__version
 
        # Test the automake binaries
-       tar -xaf mesa-$__version.tar.xz && cd mesa-$__version
        # Restore LLVM_CONFIG, if applicable:
        # export LLVM_CONFIG=`echo $save_LLVM_CONFIG`; unset save_LLVM_CONFIG
+       tar -xaf mesa-$__version.tar.xz && cd mesa-$__version
        ./configure \
                --with-dri-drivers=i965,swrast \
                --with-gallium-drivers=swrast \