diff options
Diffstat (limited to 'homebrew/mcli/.make.sh-auto')
-rw-r--r-- | homebrew/mcli/.make.sh-auto | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/mcli/.make.sh-auto b/homebrew/mcli/.make.sh-auto new file mode 100644 index 000000000..ed06e106b --- /dev/null +++ b/homebrew/mcli/.make.sh-auto @@ -0,0 +1,7 @@ +pkg:setup +prefix.install Dir["*"] +inreplace prefix/"m" do |s| +s.gsub! /^\[ -L.*|^\s+\|\| pushd.*|^popd.*/, "" +s.gsub! /MPATH=.*/, "MPATH=#{prefix}" +s.gsub! /update_mcli \&\&.*/, "printf \"Try: brew update && brew upgrade m-cli \\n\" && exit 0" +s.gsub! /uninstall_mcli \&\&.*/, "printf \"Try: brew uninstall m-cli \\n\" && exit 0" |