Révision d3e12e0b
Ajouté par Julien Enselme il y a environ 9 ans
bin/d7-sync-site.sh | ||
---|---|---|
1 | 1 |
#!/usr/bin/env bash |
2 | 2 |
|
3 | 3 |
usage() { |
4 |
help=<<EOF |
|
5 |
This script is intended to ease the synchronisation between any site hosted by assos. |
|
4 |
help="This script is intended to ease the synchronisation between any site hosted by assos. |
|
6 | 5 |
Typically, this script is usefull when you have (or want to have) a test site based on |
7 | 6 |
a already working site. It relies on bash, drush and drush aliases. |
8 | 7 |
|
... | ... | |
10 | 9 |
destination site does not exist, it is created. If prod is set, the site is not in |
11 | 10 |
maintenance mode. |
12 | 11 |
|
13 |
usage: d7-sync.sh -s SOURCE_SITENAME -d DEST_SITENAME [-p] |
|
14 |
EOF |
|
12 |
usage: d7-sync.sh -s SOURCE_SITENAME -d DEST_SITENAME [-p]" |
|
15 | 13 |
echo -e "${help}" |
16 | 14 |
} |
17 | 15 |
|
Formats disponibles : Unified diff
d7-sync-site.sh: correct help definition.