root / bin / d7-all-reset-variables.sh @ 20f29eb0
1 | d52a5b2f | jenselme | #!/bin/sh |
---|---|---|---|
2 | |||
3 | 06e9d071 | Assos Assos | . /home/assos/bin/scripts-config.sh |
4 | d52a5b2f | jenselme | |
5 | 8550e097 | Julien Enselme | for dir in $(find "${d7_dir_sites}" -maxdepth 1 -mindepth 1 -type d ! -name all | sort); do |
6 | 3e9236bd | Julien Enselme | echo "${dir}" |
7 | 8550e097 | Julien Enselme | site_name=$(echo "${dir}" | tr '.' '\n' | tail -n 1) |
8 | 3e9236bd | Julien Enselme | d7-reset-variables.sh "${site_name}" |
9 | d52a5b2f | jenselme | done |