From 481f604cbc5990439d409c98e78a2915af71e9d6 Mon Sep 17 00:00:00 2001 From: Robert Munteanu Date: Fri, 18 Oct 2013 00:59:39 +0300 Subject: [PATCH] travis: use sudo to write to config_inc.php file --- scripts/travis_before_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/travis_before_script.sh b/scripts/travis_before_script.sh index 6239faaee6..755e4e9c8d 100755 --- a/scripts/travis_before_script.sh +++ b/scripts/travis_before_script.sh @@ -50,7 +50,7 @@ sleep 10 # trigger installation curl --data "install=2&hostname=localhost&db_username=${DB_USER}&db_type=${DB}&db_password=&database_name=bugtracker&admin_username=${DB_USER}&admin_password=" http://localhost/admin/install.php -echo " \$g_crypto_master_salt='1234567890abcdef'; " >> config_inc.php +echo " \$g_crypto_master_salt='1234567890abcdef'; " | sudo tee -a config_inc.php # create the first project if [ $DB = 'mysql' ]; then