mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
parent
7f339fea48
commit
dfb097f9d6
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
distributable:
|
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
|
strip-components: 1
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
|
|
|
@ -144,7 +144,7 @@ class Fixer
|
||||||
def fix_tea_prefix s
|
def fix_tea_prefix s
|
||||||
s = Pathname.new(s).relative_path_from(Pathname.new($tea_prefix))
|
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{/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}"
|
s = "@rpath/#{s}"
|
||||||
return s
|
return s
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue