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

Modified clone_stag4.sh to be able to clone on systems without a hard disk

parent e954e41b
No related branches found
No related tags found
1 merge request!11Issue 3063 stg4clnr
...@@ -26,9 +26,9 @@ else ...@@ -26,9 +26,9 @@ else
#echo Escreveu #echo Escreveu
#cat .result.out #cat .result.out
echo "Sucesso ao clonar." echo "Sucesso ao clonar."
ulimit -v 128 cd "$2"
if mksquashfs "$4" "$5" -b 1M ; then if mksquashfs "$4" "$5" -b 1M ; then
ulimit -v unlimited cd $caminho
mv "$5" "$2" mv "$5" "$2"
if [ $6 == "1" ]; then if [ $6 == "1" ]; then
rm -rf "$4" rm -rf "$4"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment