summaryrefslogtreecommitdiffstats
path: root/docker/scripts/bugzilla_config.sh
diff options
context:
space:
mode:
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