Skip to content

Commit

Permalink
INSTALL: change to bash
Browse files Browse the repository at this point in the history
  • Loading branch information
dericed committed Nov 18, 2013
1 parent f196b35 commit 590a2af
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
#!/usr/bin/ruby
if !File.exist?("/usr/local")
puts "Please enter your password to allow the installer to make changes."
system "sudo mkdir /usr/local"
command = "sudo cp "
elsif !File.writable_real?("/usr/local")
puts "Please enter your password to allow the installer to make changes."
command = "sudo cp "
else
command = "cp "
end

pwd = File.expand_path File.join(__FILE__, "..")

%w[barcodeinterpret blackatends checksumpackage fix_left2stereo fix_rewrap fix_volume ingestfile ingestfile makebroadcast makedvd makeframes makelossless makemetadata makepodcast makeprores makeyoutube mmconfig mmfunctions mmhelp paperingest quickcompare removeDSStore uploadomneon xdcamingest].each do |file|
system command+'"'+pwd+'/'+file+'"'+" /usr/local/bin"
end
puts
puts "Microservices have been installed. Please close this window."
#!/bin/bash

for script in barcodeinterpret blackatends checksumpackage fix_left2stereo fix_rewrap fix_volume ingestfile ingestfile makebroadcast makedvd makeframes makelossless makemetadata makepodcast makeprores makeyoutube mmconfig mmfunctions mmhelp paperingest quickcompare removeDSStore uploadomneon xdcamingest ; do
cp -v "$script" /usr/local/bin/
done
echo "Microservices have been installed. Please close this window."

0 comments on commit 590a2af

Please sign in to comment.