Project

General

Profile

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

root / bin / d7-all-reset-variables.sh @ 6c6343d9

1
#!/bin/sh
2

    
3
. /home/assos/bin/scripts-config.sh
4
. /home/assos/bin/scripts-utils.sh
5

    
6
for dir in $(find "${d7_dir_sites}" -maxdepth 1 -mindepth 1 -type d ! -name all | sort); do
7
    echo "${dir}"
8
    site_name=$(get_site_name_from_dir_name "${dir}")
9
    d7-reset-variables.sh "${site_name}"
10
done