Fix platform mount scripts. Refs #2261

This commit is contained in:
Pavel Chipiga 2011-11-21 23:55:52 +02:00
parent 366ca320e0
commit a1afb81bb6
3 changed files with 5 additions and 5 deletions

4
bin/mount_rsync.sh Normal file → Executable file
View File

@ -1,7 +1,7 @@
for f in `ls /srv/rosa_build/current/tmp/mount`
do
mkdir "/srv/rosa_build/shared/downloads/$f"
mkdir -p "/srv/rosa_build/shared/downloads/$f"
mount --bind "/home/share/platforms/$f" "/srv/rosa_build/shared/downloads/$f"
mv -f "/srv/rosa_build/current/tmp/mount/$f/*" "/home/share/platforms/$f"
cp -f "/srv/rosa_build/current/tmp/mount/$f/*" "/home/share/platforms/$f"
rm -Rf "/srv/rosa_build/current/tmp/mount/$f"
done

0
bin/rotate_nginx.sh Normal file → Executable file
View File

0
bin/umount_rsync.sh Normal file → Executable file
View File