Skip to content

Commit

Permalink
Fix typo overwriting MYSQL_ROOT_PASSWORD
Browse files Browse the repository at this point in the history
First line gets overwritten.

Fix for libresh/libre.sh#143
  • Loading branch information
edrex committed Feb 6, 2017
1 parent 5cf333a commit fece886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -x
MYSQL_ROOT_PASSWORD=`tr -dc A-Za-z0-9_ < /dev/urandom | head -c 20 | xargs`

echo "MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}" > env
echo "KNOWN_DB_PASSWORD=${MYSQL_ROOT_PASSWORD}" > env
echo "KNOWN_DB_PASSWORD=${MYSQL_ROOT_PASSWORD}" >> env
echo "MAIL_PASS=${MAIL_PASS}" >> env
echo "MAIL_USER=${MAIL_USER}" >> env
echo "MAIL_HOST=${MAIL_HOST}" >> env
Expand Down

0 comments on commit fece886

Please sign in to comment.