New script to create patches

This commit is contained in:
Benito Palacios Sánchez 2016-02-29 14:12:35 +01:00
parent 70813c2833
commit 1336b2c7b5

10
create_patch.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
if [[ -z "$1" ]]; then
echo "The first argument must be the name of the patch."
echo "The recommended format is romID_shortGameName."
exit -1
fi
cd desmume
svn diff > "../patch_$1.diff"