mysql: fix move of mysqlaccess files

Make sure the libexec directory exists before moving the files.

Closes Homebrew/homebrew#25815.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Joep Loijens 2014-01-11 17:48:05 +01:00 committed by Mike McQuaid
parent 4bd3e640c3
commit 9bef9b33f4

View file

@ -118,6 +118,7 @@ class Mysql < Formula
ln_s "#{prefix}/support-files/mysql.server", bin
# Move mysqlaccess to libexec
libexec.mkpath
mv "#{bin}/mysqlaccess", libexec
mv "#{bin}/mysqlaccess.conf", libexec