Projet

Général

Profil

Révision af06b65b

Ajouté par Julien Enselme il y a environ 10 ans

Must expand aliases. A path was incorrect.

Voir les différences:

other-scripts/d7-sync.sh
15 15
### Init
16 16
# Config
17 17
source d7-sync-config.sh || source d7-sync-config.example.sh
18
shopt -s expand_aliases
18 19
cd $DIR_MULTIASSOS
19 20
ret=$?
20 21
if [ $ret -ne 0 ] ; then
......
51 52

  
52 53
mkdir $dir_site
53 54
cd $dir_site
54
rsync_from_assos -rltp --progress --delete ~/drupal7/sites/$dir_site/* .
55
rsync_from_assos -rltp --progress --delete /home/assos/drupal7/sites/$dir_site/* .
55 56
# Change permissions for Apache
56 57
# TODO: do something less permissive than 755
57 58
chmod -R 755 .

Formats disponibles : Unified diff