Changes

Jump to navigation Jump to search
m
Line 126: Line 126:     
To build the patch file, you must launch the '''diff''' command (available on all Linux, provided with [http://www.cygwin.org/cygwin cygwin] under Windows) with the following command:
 
To build the patch file, you must launch the '''diff''' command (available on all Linux, provided with [http://www.cygwin.org/cygwin cygwin] under Windows) with the following command:
<pre>
+
<source lang="bash">
 
diff -Naur --exclude=CVS --exclude="*.patch" --exclude=".#*" --exclude="*~" --exclude="*.rej"
 
diff -Naur --exclude=CVS --exclude="*.patch" --exclude=".#*" --exclude="*~" --exclude="*.rej"
 
     --exclude="*.orig" --exclude="*.bak" --exclude=conf.php --exclude=documents   
 
     --exclude="*.orig" --exclude="*.bak" --exclude=conf.php --exclude=documents   
 
     old_dir new_dir  > mypatch.patch
 
     old_dir new_dir  > mypatch.patch
</pre>
+
</source>
    
A ksh script to run this command is available in directory '''build/patch'''.
 
A ksh script to run this command is available in directory '''build/patch'''.

Navigation menu