aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mysql.rb
diff options
context:
space:
mode:
authorMax Howell2009-09-15 19:05:24 +0100
committerMax Howell2009-09-16 14:49:06 +0100
commitc8c2cb2dd3dac7fbdafd2121eb4553b6ba12232d (patch)
treef22d437e66bc7d8e6a408fb596f68a28123e9625 /Library/Formula/mysql.rb
parentcfaf813b66abc0c087e348bf8a57080e8a9f653e (diff)
downloadhomebrew-c8c2cb2dd3dac7fbdafd2121eb4553b6ba12232d.tar.bz2
Use __END__ patch rather than github gist
Also there was seemingly some bug where if you didn't read the pipe for the patch commmand the exit status was non-zero.
Diffstat (limited to 'Library/Formula/mysql.rb')
-rw-r--r--Library/Formula/mysql.rb16
1 files changed, 15 insertions, 1 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb
index 75bfb5539..33793e43f 100644
--- a/Library/Formula/mysql.rb
+++ b/Library/Formula/mysql.rb
@@ -19,7 +19,7 @@ class Mysql <Formula
end
def patches
- {:p1 => "http://gist.github.com/raw/179616/bcbc9f185bbd353934c9379a253d23269c65170e/Diff"}
+ {:p1 => DATA}
end
def install
@@ -87,3 +87,17 @@ class Mysql <Formula
EOPLIST
end
end
+
+
+__END__
+--- old/scripts/mysqld_safe.sh 2009-09-02 04:10:39.000000000 -0400
++++ new/scripts/mysqld_safe.sh 2009-09-02 04:52:55.000000000 -0400
+@@ -383,7 +383,7 @@
+ fi
+
+ USER_OPTION=""
+-if test -w / -o "$USER" = "root"
++if test -w /sbin -o "$USER" = "root"
+ then
+ if test "$user" != "root" -o $SET_USER = 1
+ then