projects
/
platform
/
upstream
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b81f85
)
make it work with new findutils
author
Michal Marek
<mmarek@suse.cz>
Tue, 8 Apr 2008 13:21:12 +0000
(13:21 +0000)
committer
Michal Marek
<mmarek@suse.cz>
Tue, 8 Apr 2008 13:21:12 +0000
(13:21 +0000)
createrpmdeps
patch
|
blob
|
history
diff --git
a/createrpmdeps
b/createrpmdeps
index
4a13686
..
ba30c42
100755
(executable)
--- a/
createrpmdeps
+++ b/
createrpmdeps
@@
-38,9
+38,11
@@
foreach my $dir (@ARGV) {
open(F, '-|', $cmd) or next;
while (<F>) {
chomp;
- next unless /^(
\d
+\/\d+\/\d+) (.*)$/;
+ next unless /^(
[\d\.]
+\/\d+\/\d+) (.*)$/;
my $id = $1;
my $path = $2;
+ # new find added a fraction part to %T@, ignore it
+ $id =~ s/^(\d+)\.\d+/$1/;
next unless $path =~ /\.(?:rpm|deb)$/;
my $fn = $path;
$fn =~ s/.*\///;