On 9/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Some find utilities (Mac OS X 10.4.2's for instance) choke if no search
> start directory is given before the first argument.
>
> This patch adds `.' in the gap to fix the problem.
There are two more cases of this.
Index: quilt/scripts/inspect.in
===================================================================
--- quilt.orig/scripts/inspect.in 2005-05-23 02:19:47.000000000 +1000
+++ quilt/scripts/inspect.in 2005-08-13 18:44:09.549590592 +1000
@@ -130,7 +130,7 @@
if ! [ -e $tmpdir/more-md5sums ]
then
( cd $RPM_BUILD_DIR
- find -type f \
+ find . -type f \
| sed -e 's:^.\/::' \
| xargs md5sum \
) > $tmpdir/more-md5sums
Index: quilt/scripts/dependency-graph.in
===================================================================
--- quilt.orig/scripts/dependency-graph.in 2004-06-07 06:17:06.000000000
+1000
+++ quilt/scripts/dependency-graph.in 2005-08-13 18:43:47.209668874 +1000
@@ -241,7 +241,7 @@
print STDERR "$ENV{QUILT_PC}/$patch does not exist;
skipping\n";
next;
}
- @files = split(/\n/, `cd $ENV{QUILT_PC}/$patch ; find -type f !
-name .timestamp`);
+ @files = split(/\n/, `cd $ENV{QUILT_PC}/$patch ; find . -type f
!
-name .timestamp`);
@files = map { s:\./::; $_ } @files;
}
push @nodes, {number=>$n++, name=>$patch, file=>$patch,
--
John
_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev