diff --git a/bin/mount_rsync.sh b/bin/mount_rsync.sh index f9956abf4..f430ff694 100644 --- a/bin/mount_rsync.sh +++ b/bin/mount_rsync.sh @@ -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 \ No newline at end of file diff --git a/bin/umount_rsync.sh b/bin/umount_rsync.sh index ba48119fe..b15b0678f 100644 --- a/bin/umount_rsync.sh +++ b/bin/umount_rsync.sh @@ -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 \ No newline at end of file