diff options
| author | Max Howell | 2009-09-15 19:05:24 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-16 14:49:06 +0100 |
| commit | c8c2cb2dd3dac7fbdafd2121eb4553b6ba12232d (patch) | |
| tree | f22d437e66bc7d8e6a408fb596f68a28123e9625 /Library/Formula/mysql.rb | |
| parent | cfaf813b66abc0c087e348bf8a57080e8a9f653e (diff) | |
| download | homebrew-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.rb | 16 |
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 |
