mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
parent
7f339fea48
commit
dfb097f9d6
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
distributable:
|
||||
url: https://mirrors.edge.kernel.org/pub/software/scm/git/git-{{ version }}.tar.xz
|
||||
url: https://mirrors.edge.kernel.org/pub/software/scm/git/git-{{version}}.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
|
|
|
@ -144,7 +144,7 @@ class Fixer
|
|||
def fix_tea_prefix s
|
||||
s = Pathname.new(s).relative_path_from(Pathname.new($tea_prefix))
|
||||
s = s.sub(%r{/v(\d+)\.\d+\.\d+/}, '/v\1/')
|
||||
s = s.sub(%r{/(.+)\.(\d+)\.\d+\.\d+\.dylib$}, '/\1.dylib')
|
||||
s = s.sub(%r{/(\.\d+)+\.dylib$}, '/.dylib')
|
||||
s = "@rpath/#{s}"
|
||||
return s
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue