aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ffmbc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/ffmbc.rb')
-rw-r--r--Library/Formula/ffmbc.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/ffmbc.rb b/Library/Formula/ffmbc.rb
index c3407747c..68fac418d 100644
--- a/Library/Formula/ffmbc.rb
+++ b/Library/Formula/ffmbc.rb
@@ -40,9 +40,10 @@ class Ffmbc < Formula
# This formula will only install the commandline tools
mv "ffprobe", "ffprobe-bc"
bin.install "ffmbc", "ffprobe-bc"
- Dir.chdir "doc"
- mv.rename "ffprobe.1", "ffprobe-bc.1"
- man1.install "ffmbc.1", "ffprobe-bc.1"
+ cd "doc" do
+ mv "ffprobe.1", "ffprobe-bc.1"
+ man1.install "ffmbc.1", "ffprobe-bc.1"
+ end
end
def caveats