parent
2ff86eb417
commit
d2d7516cc0
@ -21,6 +21,10 @@ module Debrew
|
|||||||
Debrew.debrew { super }
|
Debrew.debrew { super }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def patch
|
||||||
|
Debrew.debrew { super }
|
||||||
|
end
|
||||||
|
|
||||||
def test
|
def test
|
||||||
Debrew.debrew { super }
|
Debrew.debrew { super }
|
||||||
end
|
end
|
||||||
|
|||||||
@ -128,7 +128,7 @@ class ExternalPatch
|
|||||||
resource.unpack do
|
resource.unpack do
|
||||||
# Assumption: the only file in the staging directory is the patch
|
# Assumption: the only file in the staging directory is the patch
|
||||||
patchfile = Pathname.pwd.children.first
|
patchfile = Pathname.pwd.children.first
|
||||||
safe_system "/usr/bin/patch", "-g", "0", "-f", "-d", dir, "-#{strip}", "-i", patchfile
|
dir.cd { safe_system "/usr/bin/patch", "-g", "0", "-f", "-#{strip}", "-i", patchfile }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user