Skip to content
Snippets Groups Projects
Commit 3207b4a7 authored by Enris Nogare Von Tein's avatar Enris Nogare Von Tein
Browse files

Removed the wrong move in clone_stage4.sh

parent fd105f80
No related branches found
No related tags found
1 merge request!11Issue 3063 stg4clnr
1729488 testeeeeeeeeeee.r1.tar.gz 1729544 testando-sem-o-move-zuado.r1.tar.gz
{"uploadid":"V8itPB2gGNjIMZLF8JRqrseULwn84SjZbpa","status":"ok","code":"003","msg":"New upload succesful"} {"uploadid":"teaMZQqTl8Juxndfl3chV0FmnkYqP33CGYg","status":"ok","code":"003","msg":"New upload succesful"}
\ No newline at end of file \ No newline at end of file
...@@ -30,15 +30,17 @@ else ...@@ -30,15 +30,17 @@ else
cd "$2" cd "$2"
if mksquashfs "$4" "$5" -b 1M ; then if mksquashfs "$4" "$5" -b 1M ; then
cd $caminho cd $caminho
mv "$5" "$2" echo move do 5 pro 2
#mv "$5" "$2"
if [ $6 == "1" ]; then if [ $6 == "1" ]; then
rm -rf "$4" rm -rf "$4"
fi fi
cd "$2" cd "$2"
#/root/dnbd3/build/dnbd3-server --crc "$5" #/root/dnbd3/build/dnbd3-server --crc "$5"
tar cvzf "$5".tar.gz user_data.info "$5" "$5".crc tar cvzf "$5".tar.gz user_data.info "$5"
split --verbose -n $7 "$5".tar.gz "$5".tar.gz. split --verbose -n $7 "$5".tar.gz "$5".tar.gz.
du "$5".tar.gz > .size.out du "$5".tar.gz > .size.out
echo move do .size
mv .size.out "$caminho" mv .size.out "$caminho"
cd "$caminho" cd "$caminho"
#echo Caminho novo #echo Caminho novo
...@@ -48,7 +50,6 @@ else ...@@ -48,7 +50,6 @@ else
#cat .result.out #cat .result.out
echo "Sucesso ao compactar" echo "Sucesso ao compactar"
else else
ulimit -v unlimited
cd "$caminho" cd "$caminho"
#echo Caminho novo #echo Caminho novo
#pwd #pwd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment