Révision 3dadc395
Ajouté par Thomas Berger il y a plus de 9 ans
bin/d7-reset-variables.sh | ||
---|---|---|
7 | 7 |
if [ -n "$1" ] ; then |
8 | 8 |
. scripts-config-site.sh "$1" |
9 | 9 |
# default is an exception to the rule |
10 |
if echo "$1" | grep default > /dev/null ; then
|
|
10 |
if echo "$1" | grep -q default ; then
|
|
11 | 11 |
cd "${d7_dir_sites}/default" |
12 | 12 |
else |
13 | 13 |
cd "${d7_site_dir}" |
Formats disponibles : Unified diff
Silence grep tests with -q