working on DB setup via Phing

pull/1/head
ppaulis 2016-11-02 19:08:52 +01:00
parent b8320a3784
commit 7ef319a6ca
1 changed files with 5 additions and 2 deletions

View File

@ -1,10 +1,13 @@
#!/bin/bash
cd /var/www/continuousphp/current
BUILD=$1
cd /var/www/continuousphp/$BUILD
while [ ! -f /var/lib/continuousphp/credentials.ini ]
do
sleep 2
done
#chown -R www-data:www-data /var/www/continuousphp/current/*
chown -R www-data:www-data /var/www/continuousphp/$BUILD/*
bin/phing -propertyfile /var/lib/continuousphp/credentials.ini init