Ensure patch cache path is unique even when checksum is missing
This commit is contained in:
parent
d6bc5f42f0
commit
72e0d9806b
@ -101,7 +101,7 @@ class ExternalPatch < Patch
|
||||
def owner= owner
|
||||
resource.owner = owner
|
||||
resource.name = "patch"
|
||||
resource.version = resource.checksum
|
||||
resource.version = resource.checksum || ERB::Util.url_encode(resource.url)
|
||||
end
|
||||
|
||||
def apply
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user