#!/bin/sh
VERSION=1.76.2
tar --files-from=file.list -xJvf ../gjs-$VERSION.tar.xz
mv gjs-$VERSION gjs-$VERSION-orig
cp -rf ./gjs-$VERSION-new ./gjs-$VERSION
diff --unified -Nr gjs-$VERSION-orig gjs-$VERSION > gjs-$VERSION-installed-tests.patch
mv gjs-$VERSION-installed-tests.patch ../patches
rm -rf ./gjs-$VERSION
rm -rf ./gjs-$VERSION-orig