aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2009-02-15 16:16:33 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2009-02-15 16:16:33 +0000
commit1895bc9e690d788fe3a5d7ea4315e45be081d2f4 (patch)
tree4c4a2ac06b85a7e0fe87c5dc2685cef34e6911f4 /Tools
parent43b187a5f8feb456a74c5c9d94e9547630652c26 (diff)
downloadports-1895bc9e690d788fe3a5d7ea4315e45be081d2f4.tar.gz
ports-1895bc9e690d788fe3a5d7ea4315e45be081d2f4.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/update-patches2
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