diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2010-11-25 12:50:04 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2010-11-25 12:50:04 -0300 |
commit | b5249214d4c5f698322a233fbf991a5bb47c20d7 (patch) | |
tree | a491edccca35e1eaf4840ff8190759bb5908bb18 | |
parent | 750fb2354ee41ae92c6c7cde5ae577cf8d8a610c (diff) |
Added -N flag to diff to create new files and remove the old ones
-rwxr-xr-x | librepatch | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ for package in $@; do [[ -z ${pkgbase} ]] && pkgbase=${pkgname} # Generate a diff file, no -r since we don't want to patch src/ nor pkg/ - diff -au ./${package} ./${package}-libre >> $PATCHDIR/${pkgbase}-${pkgver}-${pkgrel}.patch + diff -auN ./${package} ./${package}-libre >> $PATCHDIR/${pkgbase}-${pkgver}-${pkgrel}.patch done |