From 3e3d5a101f7b315c5109f0286bd1f89593346a31 Mon Sep 17 00:00:00 2001 From: Michiel Missotten Date: Fri, 20 Sep 2013 10:41:37 +0200 Subject: [PATCH] play: remove <2.2.0 hack. Closes Homebrew/homebrew#22700. Signed-off-by: Mike McQuaid --- Formula/play.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Formula/play.rb b/Formula/play.rb index 13eb808f498..4c21b728f8b 100644 --- a/Formula/play.rb +++ b/Formula/play.rb @@ -13,16 +13,6 @@ class Play < Formula rm Dir['*.bat'] rm Dir["#{buildpath}/**/*.bat"] if build.head? - # apply workaround for relative symlink, remove block when stable version reaches 2.2.x. - # https://github.com/playframework/playframework/issues/1516 - # https://github.com/playframework/playframework/pull/777 - if build.stable? - inreplace buildpath/"play" do |s| - s.gsub! "$dir/", "$dir/../libexec/" - s.gsub! "dir=`dirname $PRG`", "dir=`dirname $0` && dir=$dir/`dirname $PRG`" - end - end - libexec.install Dir['*'] bin.install_symlink libexec/'play' end