[refs #2249] Some scripts changes

This commit is contained in:
konstantin.grabar 2011-11-21 18:56:15 +04:00
parent 211ae3f9c6
commit 1a24dc2b56
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -2,5 +2,5 @@ for f in `ls /srv/rosa_build/current/tmp/umount`
do
umount "/srv/rosa_build/shared/downloads/$f"
rm -Rf "/srv/rosa_build/shared/downloads/$f"
rm -f "/srv/rosa_build/current/tmp/umount/$f"
rm -Rf "/srv/rosa_build/current/tmp/umount/$f"
done