[refs #2249] Some scripts changes
This commit is contained in:
parent
211ae3f9c6
commit
1a24dc2b56
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue