Project

General

Profile

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

root / bin / d7-all-reset-variables.sh @ 66787541

1
#!/bin/sh
2

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

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