working on DB setup via Phing
parent
b8320a3784
commit
7ef319a6ca
|
@ -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
|
Loading…
Reference in New Issue