diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2009-02-15 16:16:33 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2009-02-15 16:16:33 +0000 |
commit | 1895bc9e690d788fe3a5d7ea4315e45be081d2f4 (patch) | |
tree | 4c4a2ac06b85a7e0fe87c5dc2685cef34e6911f4 /Tools | |
parent | 43b187a5f8feb456a74c5c9d94e9547630652c26 (diff) | |
download | ports-1895bc9e690d788fe3a5d7ea4315e45be081d2f4.tar.gz ports-1895bc9e690d788fe3a5d7ea4315e45be081d2f4.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/update-patches | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/update-patches b/Tools/scripts/update-patches index 51e4b4fc5571..137eadb750d1 100755 --- a/Tools/scripts/update-patches +++ b/Tools/scripts/update-patches @@ -47,7 +47,7 @@ do # found it, splice before diff part with diff esc=`echo $file | sed -e 's,/,\\\\/,g'` { sed -e "/^--- $esc.orig/,\$ d" <$i - (cd $PATCH_WRKSRC && diff ${DIFF_ARGS} -u $file.orig $file) } >$i.new + (cd $PATCH_WRKSRC && diff -p ${DIFF_ARGS} -u $file.orig $file) } >$i.new # did it change ? mark it as changed if diff ${DIFF_ARGS} -u --ignore-matching-lines="^--- $file.orig .*" \ --ignore-matching-lines="^+++ $file .*" $i $i.new 1>&2 |