From 6b2612d704d72a25c4573ea64d018a1bccc2255e Mon Sep 17 00:00:00 2001 From: Michiel Missotten Date: Fri, 20 Sep 2013 10:41:37 +0200 Subject: play: remove <2.2.0 hack. Closes #22700. Signed-off-by: Mike McQuaid --- Library/Formula/play.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/play.rb b/Library/Formula/play.rb index 13eb808f4..4c21b728f 100644 --- a/Library/Formula/play.rb +++ b/Library/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 -- cgit v1.2.3