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