summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2010-11-25 12:50:04 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2010-11-25 12:50:04 -0300
commitb5249214d4c5f698322a233fbf991a5bb47c20d7 (patch)
treea491edccca35e1eaf4840ff8190759bb5908bb18
parent750fb2354ee41ae92c6c7cde5ae577cf8d8a610c (diff)
Added -N flag to diff to create new files and remove the old ones
-rwxr-xr-xlibrepatch2
1 files changed, 1 insertions, 1 deletions
diff --git a/librepatch b/librepatch
index 713c156..4e7af4f 100755
--- a/librepatch
+++ b/librepatch
@@ -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