aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-10-07 14:17:16 +0100
committerMax Howell2009-10-09 00:09:05 +0100
commite2bed20d21058bdf2ece65896aeffa56129d849f (patch)
treeeccd7187dfd838026924506003fe45f281a629a9 /Library
parent346e42d4b9d1ed56fe6a3077b150d1ef6d6e5d4b (diff)
downloadbrew-e2bed20d21058bdf2ece65896aeffa56129d849f.tar.bz2
Revert "Set homepage in created scripts to frontmost Safari URL"
This reverts commit a1ed2cb19706e317d34f1a9f2efe8a2d2388afae. The is running part of the Applescript didn't seem to prevent Safari getting loaded when it wasn't running when used via osascript. It worked in ScriptEditor! Honest! Also we decided that it probably wouldn't work often enough anyway. Discussion: http://github.com/mxcl/homebrew/commit/a1ed2cb19706e317d34f1a9f2efe8a2d2388afae
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brew.h.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb
index 4d0f45377..83cb79c50 100644
--- a/Library/Homebrew/brew.h.rb
+++ b/Library/Homebrew/brew.h.rb
@@ -29,15 +29,13 @@ def __make url, name
path = Formula.path name
raise "#{path} already exists" if path.exist?
- homepage = `osascript -e 'tell application "Safari" to if running then get URL of document of first window'`.chomp
-
template=<<-EOS
require 'brewkit'
class #{Formula.class_s name} <Formula
url '#{url}'
+ homepage ''
md5 ''
- homepage '#{homepage}'
cmake depends_on 'cmake'