5 kx #!/bin/sh
5 kx
5 kx VERSION=1.10.2
5 kx
5 kx tar --files-from=file.list -xJvf ../ninja-$VERSION.tar.xz
5 kx mv ninja-$VERSION ninja-$VERSION-orig
5 kx
5 kx cp -rf ./ninja-$VERSION-new ./ninja-$VERSION
5 kx
5 kx diff --unified -Nr ninja-$VERSION-orig ninja-$VERSION > ninja-$VERSION-Kitware.patch
5 kx
5 kx mv ninja-$VERSION-Kitware.patch ../patches
5 kx
5 kx rm -rf ./ninja-$VERSION
5 kx rm -rf ./ninja-$VERSION-orig