From b5249214d4c5f698322a233fbf991a5bb47c20d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Thu, 25 Nov 2010 12:50:04 -0300 Subject: Added -N flag to diff to create new files and remove the old ones --- librepatch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.2