5 kx #!/bin/sh
5 kx
5 kx VERSION=14.1
5 kx
5 kx tar --files-from=file.list -xjvf ../postgresql-$VERSION.tar.bz2
5 kx mv postgresql-$VERSION postgresql-$VERSION-orig
5 kx
5 kx cp -rf ./postgresql-$VERSION-new ./postgresql-$VERSION
5 kx
5 kx diff --unified -Nr postgresql-$VERSION-orig postgresql-$VERSION > postgresql-$VERSION-cross-configure.patch
5 kx
5 kx mv postgresql-$VERSION-cross-configure.patch ../patches
5 kx
5 kx rm -rf ./postgresql-$VERSION
5 kx rm -rf ./postgresql-$VERSION-orig