From 3cf8539d4e3f04e4f59fcfc1740dcbf151348c29 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 30 Jan 2009 18:45:22 +0000 Subject: [PATCH] Add patch script --- build/patch/buildpatch.ksh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 build/patch/buildpatch.ksh diff --git a/build/patch/buildpatch.ksh b/build/patch/buildpatch.ksh new file mode 100644 index 00000000000..27a19a14097 --- /dev/null +++ b/build/patch/buildpatch.ksh @@ -0,0 +1,14 @@ +/bin/ksh +# +# This script can be used to build a patch after a developer has made +# changes on files in its Dolibarr tree. +# The output patch file can then be submited on Dolibarr dev mailing-list, +# with explanation on its goal, for inclusion in main branch. +# + +export oldir=original_dir +export newdir=modified_dir + +echo Building patch file mypatch.patch +diff -Naur --exclude=CVS --exclude="*.patch" --exclude=".#*" --exclude="*~" --exclude="*.rej" --exclude="*.orig" --exclude="*.bak" --exclude=conf.php --exclude=documents $olddir $newdir > mypatch.patch +