aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2009-06-15 00:55:18 +0100
committerMax Howell2009-06-15 00:55:18 +0100
commit7eec61001c71f091fe125da9825eb6698b226d87 (patch)
treee3a57e9cc6f07e7e9c7a8a9382076d2c35c88970
parent2249a6bd7b55401f8cf250722326c228c492527c (diff)
downloadhomebrew-7eec61001c71f091fe125da9825eb6698b226d87.tar.bz2
Rename mv_from to install
-rw-r--r--Library/Formula/dos2unix.rb4
-rw-r--r--Library/Formula/pngcrush.rb2
-rw-r--r--Library/Homebrew/brewkit.rb2
3 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/dos2unix.rb b/Library/Formula/dos2unix.rb
index c045501a1..8ed8191f9 100644
--- a/Library/Formula/dos2unix.rb
+++ b/Library/Formula/dos2unix.rb
@@ -9,7 +9,7 @@ class Dos2unix <Formula
system "make clean"
system "make"
# make install is broken due to INSTALL file, but also it sucks so we'll do it
- bin.mv_from ['dos2unix', 'mac2unix']
- man1.mv_from ['dos2unix.1', 'mac2unix.1']
+ bin.install ['dos2unix', 'mac2unix']
+ man1.install ['dos2unix.1', 'mac2unix.1']
end
end
diff --git a/Library/Formula/pngcrush.rb b/Library/Formula/pngcrush.rb
index 8e63023c9..c0d89f3f6 100644
--- a/Library/Formula/pngcrush.rb
+++ b/Library/Formula/pngcrush.rb
@@ -7,6 +7,6 @@ class Pngcrush <Formula
def install
system "make"
- bin.mv_from 'pngcrush'
+ bin.install 'pngcrush'
end
end \ No newline at end of file
diff --git a/Library/Homebrew/brewkit.rb b/Library/Homebrew/brewkit.rb
index d0a59b888..3adbe5195 100644
--- a/Library/Homebrew/brewkit.rb
+++ b/Library/Homebrew/brewkit.rb
@@ -91,7 +91,7 @@ class Pathname
FileUtils.mv to_s, dst
end
- def mv_from src
+ def install src
FileUtils.mv src, to_s
end