Browse Source

Add approprate --exclude directories and fix output (instructions).

master
poikilos 1 year ago
parent
commit
dca9f0a1b4
  1. 8
      utilities/pull-minetest-kit

8
utilities/pull-minetest-kit

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
rsync -rt --info=progress2 mtio:/opt/minebest/ ~/linux-minetest-kit-rsync rsync -rtv mtio:/opt/minebest/ ~/linux-minetest-kit-rsync --exclude "mtkit/minetest/" --exclude "assemble/"
# ^ exclude mtkit/minetest/ and assemble/ since they are remotely-built copies of the program.
# --info=progress2
code=$? code=$?
if [ $code -eq 0 ]; then if [ $code -eq 0 ]; then
echo "Updating ~/linux-minetest-kit-rsync...OK" echo "Updating ~/linux-minetest-kit-rsync...OK"
@ -12,8 +14,8 @@ cat <<END
Next do: Next do:
cd ~/linux-minetest-kit-rsync/mtkit cd ~/linux-minetest-kit-rsync/mtkit
./mtcompile-libraries.sh bash -e mtcompile-libraries.sh build
perl mtcompile-program --build --finetest --client perl mtcompile-program.pl --build --finetest --client
cd ~/linux-minetest-kit-rsync/mtkit/minetest/bin cd ~/linux-minetest-kit-rsync/mtkit/minetest/bin
nopackage install finetest --version rsync --caption "Finetest (rsync)" nopackage install finetest --version rsync --caption "Finetest (rsync)"
END END

Loading…
Cancel
Save