aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/iphotoexport.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/iphotoexport.rb b/Library/Formula/iphotoexport.rb
index 4d8c17258..47ae123bf 100644
--- a/Library/Formula/iphotoexport.rb
+++ b/Library/Formula/iphotoexport.rb
@@ -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