git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8b8174b
)
Adjust patch -p0 for binutils.
author
jkratoch
<>
Thu, 16 Jul 2009 18:47:11 +0000
(18:47 +0000)
committer
jkratoch
<>
Thu, 16 Jul 2009 18:47:11 +0000
(18:47 +0000)
bin/hammock
patch
|
blob
|
history
diff --git
a/bin/hammock
b/bin/hammock
index
be33ac0
..
6a1c07b
100755
(executable)
--- a/
bin/hammock
+++ b/
bin/hammock
@@
-292,7
+292,7
@@
for my $distro (@distrouse) {
my $R=$1;
my $fileabs=$file;
$fileabs=$ENV{"PWD"}."/$fileabs" if $fileabs!~m{^/};
my $R=$1;
my $fileabs=$file;
$fileabs=$ENV{"PWD"}."/$fileabs" if $fileabs!~m{^/};
- spawn "cd $baretestsuite; patch -${R}p
1
<$fileabs";
+ spawn "cd $baretestsuite; patch -${R}p
".($component=~/binutils/ ? "0" : "1")."
<$fileabs";
} else {
-f $target or $file=~m{/testsuite/} or die "File $file does not exist at $target";
spawn "rm -f $target; cp -p $file $target";
} else {
-f $target or $file=~m{/testsuite/} or die "File $file does not exist at $target";
spawn "rm -f $target; cp -p $file $target";