Project

General

Profile

Paste
Download (301 Bytes) Statistics
| Branch: | Revision:

root / other-scripts / one-use / d7-all-gen-settings-global.sh @ master

1 2e9ce399 Julien Enselme
#!/bin/sh
2
3
. /users/guest/assos/bin/scripts-config.sh
4
. scripts-utils.sh
5
6
for dir in `find $d7_dir_sites -maxdepth 1 -mindepth 1 -type d ! -name all` ; do
7
    cd $dir
8
    pwd
9
    chmod 700 settings.php
10
    rm settings.php
11
    cp ../template.settings.php ./settings.php
12
    chmod 400 settings.php
13
done