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