aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/iphotoexport.rb
diff options
context:
space:
mode:
authorJack Nagel2013-03-24 21:15:46 -0500
committerJack Nagel2013-03-24 21:15:46 -0500
commit3e7b14e84108cd1b9f5f1836b894d783fdf575dc (patch)
treefd196453f3d8119ea4e40f94e7459896e413b4f4 /Library/Formula/iphotoexport.rb
parent21ae58b8b4b1e85ed3a6bfb283530fc3e9ee3a3b (diff)
downloadhomebrew-3e7b14e84108cd1b9f5f1836b894d783fdf575dc.tar.bz2
iphotoexport: don't use ivars directly
Diffstat (limited to 'Library/Formula/iphotoexport.rb')
-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