#!/bin/sh
VERSION=5.15.8
tar --files-from=file.list -xJvf ../qt-everywhere-src-$VERSION.tar.xz
mv qt-everywhere-src-$VERSION qt-everywhere-src-$VERSION-orig
cp -rf ./qt-everywhere-src-$VERSION-new ./qt-everywhere-src-$VERSION
diff --unified -Nr qt-everywhere-src-$VERSION-orig qt-everywhere-src-$VERSION > qt5-$VERSION-sandbox.patch
mv qt5-$VERSION-sandbox.patch ../patches
rm -rf ./qt-everywhere-src-$VERSION
rm -rf ./qt-everywhere-src-$VERSION-orig