diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-09-15 18:02:40 +0000 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2005-09-15 18:02:40 +0000 |
commit | 2eed6a6601f65e86980aa007cdda08021c42d278 (patch) | |
tree | 8e3416cd614997739af6058a7e0434d6d43275f8 | |
parent | 836447cea8f4ab389092ce8d6c6eaf265afd3adb (diff) | |
download | quilt-2eed6a6601f65e86980aa007cdda08021c42d278.tar.gz |
- Omitting the search directory in "find" is not portable; add an explicit
"." (Gary V. Vaughan, John Vandenberg).
-rw-r--r-- | Makefile.in | 4 | ||||
-rw-r--r-- | quilt.changes | 6 | ||||
-rw-r--r-- | scripts/dependency-graph.in | 2 | ||||
-rw-r--r-- | scripts/inspect.in | 2 |
4 files changed, 10 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index 994dc94..79fbc8e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -46,8 +46,8 @@ EXEEXT := @EXEEXT@ ISODATE := $(shell date +%Y-%m-%d) #----------------------------------------------------------------------- -DIRT += $(shell find -name '*~') -DIRT += $(shell find -name '.\#*') +DIRT += $(shell find . -name '*~') +DIRT += $(shell find . -name '.\#*') SRC += COPYING AUTHORS TODO Makefile.in \ configure.ac config/install-sh \ diff --git a/quilt.changes b/quilt.changes index 236d5fa..7f524bb 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Sep 15 19:51:06 CEST 2005 - khali@linux-fr.org + +- Omitting the search directory in "find" is not portable; add + an explicit "." (Gary V. Vaughan, John Vandenberg). + +------------------------------------------------------------------- Thu Sep 15 15:20:27 CEST 2005 - agruen@suse.de - Fix quilt.spec generation after the Sep 14 change. diff --git a/scripts/dependency-graph.in b/scripts/dependency-graph.in index 3e9091d..a853c10 100644 --- a/scripts/dependency-graph.in +++ b/scripts/dependency-graph.in @@ -241,7 +241,7 @@ foreach my $patch (@patches) { 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, diff --git a/scripts/inspect.in b/scripts/inspect.in index 14c4d81..7ad2b7a 100644 --- a/scripts/inspect.in +++ b/scripts/inspect.in @@ -130,7 +130,7 @@ cat <<-'EOF' > $tmpdir/bin/wrapper if ! [ -e $tmpdir/more-md5sums ] then ( cd $RPM_BUILD_DIR - find -type f \ + find . -type f \ | sed -e 's:^.\/::' \ | xargs md5sum \ ) > $tmpdir/more-md5sums |