Kouhei Sutou
null+****@clear*****
Sun Nov 1 11:52:52 JST 2015
Kouhei Sutou 2015-11-01 11:52:52 +0900 (Sun, 01 Nov 2015) New Revision: aa5c5c91f7792638ab96c75046a3738ce4788621 https://github.com/mroonga/mroonga/commit/aa5c5c91f7792638ab96c75046a3738ce4788621 Message: package rpm: add TODO comment Modified files: packages/rpm/centos/mysql57-community-mroonga.spec.in Modified: packages/rpm/centos/mysql57-community-mroonga.spec.in (+2 -0) =================================================================== --- packages/rpm/centos/mysql57-community-mroonga.spec.in 2015-11-01 11:45:53 +0900 (f7f7565) +++ packages/rpm/centos/mysql57-community-mroonga.spec.in 2015-11-01 11:52:52 +0900 (42997a3) @@ -149,6 +149,7 @@ if [ -n "$password_option" -a "$stop_after_installation" = "1" ]; then sql="ALTER USER user() IDENTIFIED BY '$auto_generated_password'" command="$mysql_command -u root -p'$auto_generated_password' \ --connect-expired-password -e \"$sql\"" + # TODO: Remove needless "eval" use eval $command password_option="-p'$auto_generated_password'" fi @@ -162,6 +163,7 @@ eval $command || \ if [ "$stop_after_installation" = "1" ]; then sql="ALTER USER root �� localhost PASSWORD EXPIRE" command="$mysql_command -u root -p'$auto_generated_password' -e \"$sql\"" + # TODO: Remove needless "eval" use eval $command /sbin/service mysqld stop fi -------------- next part -------------- HTML����������������������������...Download