From 24a0b75758eefdb841bf7edd6b6250ee3f895b92 Mon Sep 17 00:00:00 2001
From: RomanSteinberg <romanofficial@yandex.ru>
Date: Sun, 31 Aug 2014 13:34:31 +0400
Subject: [PATCH] FIX: script formating

---
 deploy.sh  | 3 ++-
 install.sh | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/deploy.sh b/deploy.sh
index a07520aa0..62821b7b4 100644
--- a/deploy.sh
+++ b/deploy.sh
@@ -17,8 +17,9 @@ fi
 #shopt -s dotglob
 cp -rp ${s}~dev_rating/* $d
 
-echo -n "Enter password for mysql user mmcs_rating >"
+echo -n "Enter password for mysql user 'mmcs_rating': "
 read -s mysqlpswd
+echo ""
 yes | mysqladmin -u mmcs_rating -p$mysqlpswd drop mmcs_rating
 mysqladmin -u mmcs_rating -p$mysqlpswd create mmcs_rating
 mysql -u mmcs_rating -p$mysqlpswd mmcs_rating < ${s}db/Structure.sql
diff --git a/install.sh b/install.sh
index cd0621ade..7db8864c0 100644
--- a/install.sh
+++ b/install.sh
@@ -1,5 +1,6 @@
 rm -rf ~/grade-rating/
 git clone http://itlab.mmcs.sfedu.ru/git/grade-rating ~/grade-rating/
 chmod +x ~/grade-rating/deploy.sh
-~/grade-rating/deploy.sh
+cp ~/grade-rating/deploy.sh ./deploy.sh
+./deploy.sh
 
-- 
GitLab