Compilation rpm : Différence entre versions
De SME Server Wiki
(→creer un patch) |
|||
Ligne 8 : | Ligne 8 : | ||
diff -rNu file.old file>file.p0 | diff -rNu file.old file>file.p0 | ||
+ | |||
+ | == creer des dossier ou fichiers== | ||
+ | |||
+ | diff -upN original_directory new_directory > filename.patch | ||
+ | |||
+ | http://drupal.org/patch/create | ||
== appliquer un patch pour le tester == | == appliquer un patch pour le tester == | ||
patch file -i file.p0 | patch file -i file.p0 |
Version du 8 mai 2010 à 06:03
creer un patch
cp file file.old
Modifier votre fichier "file" puis ...
diff -rNu file.old file>file.p0
creer des dossier ou fichiers
diff -upN original_directory new_directory > filename.patch
http://drupal.org/patch/create
appliquer un patch pour le tester
patch file -i file.p0