Fixed bug: using qemu-img convert instead of mv for tm/shared

This commit is contained in:
Jaime Melis committed 2012-03-29 13:42:49 +02:00
1 parent 226d404a6f
commit ee2c1704fd
1 file changed
+1 -2
+1 -2
View File
@@ -56,8 +56,7 @@ DST_READLN=\$($READLINK -f $DST_PATH)
if [ \( -L $SRC \) -a \( "\$SRC_READLN" = "\$DST_READLN" \) ] ; then
echo "Not moving files to image repo, they are the same"
else
qemu-img convert $SRC_PATH -O qcow2 $DST_PATH
rm $SRC_PATH
mv -f $SRC_PATH $DST_PATH
fi
EOF
)