19 kx #!/bin/sh
19 kx
19 kx VERSION=1.31
19 kx
19 kx tar --files-from=file.list -xJvf ../fakeroot-$VERSION.tar.xz
19 kx mv fakeroot-$VERSION fakeroot-$VERSION-orig
19 kx
19 kx cp -rf ./fakeroot-$VERSION-new ./fakeroot-$VERSION
19 kx
19 kx diff --unified -Nr fakeroot-$VERSION-orig fakeroot-$VERSION > fakeroot-$VERSION-host-os.patch
19 kx
19 kx mv fakeroot-$VERSION-host-os.patch ../patches
19 kx
19 kx rm -rf ./fakeroot-$VERSION
19 kx rm -rf ./fakeroot-$VERSION-orig