diff --git a/publish/rcn-ee_bb.org-stable.sh b/publish/rcn-ee_bb.org-stable.sh index 646a4afdc528444bb412e3dae09cc152b46e987a..9871eb2cf8d7c71e2c095a123f348887c9fcaa14 100755 --- a/publish/rcn-ee_bb.org-stable.sh +++ b/publish/rcn-ee_bb.org-stable.sh @@ -93,13 +93,15 @@ copy_img_to_mirror () { fi if [ -d ${mirror_dir}/${time}/\${blend}/ ] ; then if [ -f \${wfile}.bmap ] ; then - cp -v \${wfile}.bmap ${mirror_dir}/${time}/\${blend}/ + mv -v \${wfile}.bmap ${mirror_dir}/${time}/\${blend}/ + sync fi if [ ! -f ${mirror_dir}/${time}/\${blend}/\${wfile}.img.zx ] ; then - cp -v \${wfile}.img ${mirror_dir}/${time}/\${blend}/ + mv -v \${wfile}.img ${mirror_dir}/${time}/\${blend}/ sync if [ -f \${wfile}.img.xz.job.txt ] ; then - cp -v \${wfile}.img.xz.job.txt ${mirror_dir}/${time}/\${blend}/ + mv -v \${wfile}.img.xz.job.txt ${mirror_dir}/${time}/\${blend}/ + sync fi cd ${mirror_dir}/${time}/\${blend}/ ${archive} \${wfile}.img && sha256sum \${wfile}.img.xz > \${wfile}.img.xz.sha256sum & diff --git a/publish/rcn-ee_bb.org-test.sh b/publish/rcn-ee_bb.org-test.sh index 047d0b91ba6c4e0312a71760ec304bf29b5c18c8..a6ba1b2399eb9c69de103dd377a09005f5aab02a 100755 --- a/publish/rcn-ee_bb.org-test.sh +++ b/publish/rcn-ee_bb.org-test.sh @@ -93,12 +93,15 @@ copy_img_to_mirror () { fi if [ -d ${mirror_dir}/${time}/\${blend}/ ] ; then if [ -f \${wfile}.bmap ] ; then - cp -v \${wfile}.bmap ${mirror_dir}/${time}/\${blend}/ + mv -v \${wfile}.bmap ${mirror_dir}/${time}/\${blend}/ + sync fi if [ ! -f ${mirror_dir}/${time}/\${blend}/\${wfile}.img.zx ] ; then - cp -v \${wfile}.img ${mirror_dir}/${time}/\${blend}/ + mv -v \${wfile}.img ${mirror_dir}/${time}/\${blend}/ + sync if [ -f \${wfile}.img.xz.job.txt ] ; then - cp -v \${wfile}.img.xz.job.txt ${mirror_dir}/${time}/\${blend}/ + mv -v \${wfile}.img.xz.job.txt ${mirror_dir}/${time}/\${blend}/ + sync fi cd ${mirror_dir}/${time}/\${blend}/ ${archive} \${wfile}.img && sha256sum \${wfile}.img.xz > \${wfile}.img.xz.sha256sum & diff --git a/publish/rcn-ee_bb.org-wheezy.sh b/publish/rcn-ee_bb.org-wheezy.sh index 8b94a011698b248830eb48b360c166cc35c73e67..3e9fc6053248b30fdda113d3d38c56fd0b5f339d 100755 --- a/publish/rcn-ee_bb.org-wheezy.sh +++ b/publish/rcn-ee_bb.org-wheezy.sh @@ -74,13 +74,15 @@ copy_img_to_mirror () { fi if [ -d ${mirror_dir}/${time}/\${blend}/ ] ; then if [ -f \${wfile}.bmap ] ; then - cp -v \${wfile}.bmap ${mirror_dir}/${time}/\${blend}/ + mv -v \${wfile}.bmap ${mirror_dir}/${time}/\${blend}/ + sync fi if [ ! -f ${mirror_dir}/${time}/\${blend}/\${wfile}.img.zx ] ; then - cp -v \${wfile}.img ${mirror_dir}/${time}/\${blend}/ + mv -v \${wfile}.img ${mirror_dir}/${time}/\${blend}/ sync if [ -f \${wfile}.img.xz.job.txt ] ; then - cp -v \${wfile}.img.xz.job.txt ${mirror_dir}/${time}/\${blend}/ + mv -v \${wfile}.img.xz.job.txt ${mirror_dir}/${time}/\${blend}/ + sync fi cd ${mirror_dir}/${time}/\${blend}/ ${archive} \${wfile}.img && sha256sum \${wfile}.img.xz > \${wfile}.img.xz.sha256sum &