summaryrefslogtreecommitdiffstats
path: root/docker/scripts/bugzilla_config.sh
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-11-14 18:03:49 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-11-14 18:03:49 +0100
commit27dac6e9b0d2df69037cd022e77a9bf356fc7a67 (patch)
tree00d86c1b27138ce26cb60e3e342d001e9b1fa800 /docker/scripts/bugzilla_config.sh
parent47f649124510a3e91a315fc7c7cd07286f36e91a (diff)
downloadbugzilla-27dac6e9b0d2df69037cd022e77a9bf356fc7a67.tar.gz
bugzilla-27dac6e9b0d2df69037cd022e77a9bf356fc7a67.tar.xz
Bug 1224649 - Docker and QA scripts should just use the same checksetup_answers.txt file
Diffstat (limited to 'docker/scripts/bugzilla_config.sh')
-rwxr-xr-xdocker/scripts/bugzilla_config.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/docker/scripts/bugzilla_config.sh b/docker/scripts/bugzilla_config.sh
index d1ca0db0e..b18493749 100755
--- a/docker/scripts/bugzilla_config.sh
+++ b/docker/scripts/bugzilla_config.sh
@@ -1,5 +1,12 @@
#!/bin/bash
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This Source Code Form is "Incompatible With Secondary Licenses", as
+# defined by the Mozilla Public License, v. 2.0.
+
cd $BUGZILLA_ROOT
# Start and initialize database
@@ -9,8 +16,9 @@ mysql -u root mysql -e "GRANT ALL PRIVILEGES ON *.* TO bugs@localhost IDENTIFIED
mysql -u root mysql -e "CREATE DATABASE bugs CHARACTER SET = 'utf8';"
# Setup default Bugzilla database
-perl checksetup.pl /files/checksetup_answers.txt
-perl checksetup.pl /files/checksetup_answers.txt
+bash /scripts/checksetup_answers.sh > checksetup_answers.txt
+perl checksetup.pl checksetup_answers.txt
+perl checksetup.pl checksetup_answers.txt
perl /scripts/generate_bmo_data.pl
# Shutdown database