Fix platform mount scripts. Refs #2261
This commit is contained in:
parent
366ca320e0
commit
a1afb81bb6
|
@ -1,7 +1,7 @@
|
||||||
for f in `ls /srv/rosa_build/current/tmp/mount`
|
for f in `ls /srv/rosa_build/current/tmp/mount`
|
||||||
do
|
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"
|
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"
|
rm -Rf "/srv/rosa_build/current/tmp/mount/$f"
|
||||||
done
|
done
|
Loading…
Reference in New Issue