iphotoexport: don't use ivars directly
This commit is contained in:
parent
9a39338aca
commit
f9ea7d9205
1 changed files with 2 additions and 2 deletions
|
@ -8,11 +8,11 @@ class Iphotoexport < Formula
|
|||
depends_on 'exiftool'
|
||||
|
||||
def install
|
||||
unzip_dir = @name+'-'+@version
|
||||
unzip_dir = "#{name}-#{version}"
|
||||
# Change hardcoded exiftool path
|
||||
inreplace "#{unzip_dir}/tilutil/exiftool.py", "/usr/bin/exiftool", "exiftool"
|
||||
|
||||
prefix.install Dir[unzip_dir+'/*']
|
||||
prefix.install Dir["#{unzip_dir}/*"]
|
||||
bin.install_symlink prefix+'iphotoexport.py' => 'iphotoexport'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue