Project

General

Profile

Revision 94065d4e

Added by Julien Enselme over 10 years ago

Take into account 'mv htmltest drupal7'

View differences:

other-scripts/d7-sync.sh
20 20
fi
21 21

  
22 22
root=$(pwd)
23
cd htmltest/sites
23
cd drupal7/sites
24 24

  
25 25
ret=$?
26 26
if [ $ret -ne 0 ] ; then
......
35 35
fi
36 36
mkdir $dir_site
37 37
cd $dir_site
38
rsync -rl --progress assos:~/htmltest/sites/$dir_site/* .
38
rsync -rl --progress assos:~/drupal7/sites/$dir_site/* .
39 39
# Change permissions for Apache
40 40
# TODO: do something less permissive than 755
41 41
chmod -R 755 .

Also available in: Unified diff