From 2800a04e534ddc8d90738fab4b65060e6a5a064e Mon Sep 17 00:00:00 2001 From: blsaws Date: Thu, 7 Apr 2016 10:42:13 -0700 Subject: Remove "exit" from mysql command (automatically exits) JIRA: COPPER-2 Change-Id: I5b94bc72bb32c518480b647e64c95da09ec70507 Signed-off-by: blsaws --- components/congress/joid/install_congress_2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components') diff --git a/components/congress/joid/install_congress_2.sh b/components/congress/joid/install_congress_2.sh index d8b0968..d6a27e0 100644 --- a/components/congress/joid/install_congress_2.sh +++ b/components/congress/joid/install_congress_2.sh @@ -105,7 +105,7 @@ echo "copy congress.conf.sample to /etc/congress" sudo cp etc/congress.conf.sample /etc/congress/congress.conf echo "create congress database" -sudo mysql --user=root --password=$MYSQL_PASSWORD -e "CREATE DATABASE congress; GRANT ALL PRIVILEGES ON congress.* TO 'ubuntu@localhost' IDENTIFIED BY '"$MYSQL_PASSWORD"'; GRANT ALL PRIVILEGES ON congress.* TO 'ubuntu'@'%' IDENTIFIED BY '"$MYSQL_PASSWORD"'; exit;" +sudo mysql --user=root --password=$MYSQL_PASSWORD -e "CREATE DATABASE congress; GRANT ALL PRIVILEGES ON congress.* TO 'ubuntu@localhost' IDENTIFIED BY '"$MYSQL_PASSWORD"'; GRANT ALL PRIVILEGES ON congress.* TO 'ubuntu'@'%' IDENTIFIED BY '"$MYSQL_PASSWORD"';" echo "install congress-db-manage dependencies (detected by errors)" sudo apt-get build-dep python-mysqldb -y -- cgit 1.2.3-korg