Projet

Général

Profil

Paste
Télécharger (261 octets) Statistiques
| Branche: | Révision:

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

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