mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 11:59:43 -05:00
mysql: remove no-op patch
Closes #10842. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
1 parent
bc0f31d911
commit
1cd1d4807c
1 file changed
+3
-19
@@ -25,9 +25,9 @@ class Mysql < Formula
|
||||
]
|
||||
end
|
||||
|
||||
def patches
|
||||
DATA
|
||||
end
|
||||
# Remove optimization flags from `mysql_config --cflags`
|
||||
# This facilitates easy compilation of gems using a brewed mysql
|
||||
def patches; DATA; end
|
||||
|
||||
def install
|
||||
# Make sure the var/mysql directory exists
|
||||
@@ -159,22 +159,6 @@ end
|
||||
|
||||
|
||||
__END__
|
||||
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh
|
||||
index 0d2045a..2fdd5ce 100644
|
||||
--- a/scripts/mysqld_safe.sh
|
||||
+++ b/scripts/mysqld_safe.sh
|
||||
@@ -558,7 +558,7 @@ else
|
||||
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
|
||||
|
||||
# Remove optimization flags from `mysql-config --cflags`
|
||||
# This facilitates easy compilation of gems using a brewed mysql
|
||||
diff --git a/scripts/mysql_config.sh b/scripts/mysql_config.sh
|
||||
index 9296075..70c18db 100644
|
||||
--- a/scripts/mysql_config.sh
|
||||
|
||||
Reference in new issue
Block a user