Skip to content

Commit

Permalink
travis: use sudo to write to config_inc.php file
Browse files Browse the repository at this point in the history
  • Loading branch information
rombert committed Oct 17, 2013
1 parent 25f6c1c commit 481f604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/travis_before_script.sh
Expand Up @@ -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
Expand Down

0 comments on commit 481f604

Please sign in to comment.