mirror of https://github.com/MISP/misp-docker
Prevent globbing and word splitting
parent
3773870ae3
commit
6fb8b182a9
|
@ -89,7 +89,7 @@ init_mysql(){
|
||||||
|
|
||||||
sync_files(){
|
sync_files(){
|
||||||
for DIR in $(ls /var/www/MISP/app/files.dist); do
|
for DIR in $(ls /var/www/MISP/app/files.dist); do
|
||||||
rsync -azh --delete /var/www/MISP/app/files.dist/$DIR /var/www/MISP/app/files/
|
rsync -azh --delete "/var/www/MISP/app/files.dist/$DIR" "/var/www/MISP/app/files/"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue