#!/bin/bash
echo "reverting changes made in work relative to sources.."
./mkpatch > tmp
cd work
patch -p1 -R <../tmp
rm ../tmp
