-
-
Save rubenwardy/a0ca2abd7a25d910f92e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
tty -s; if [ $? -ne 0 ]; then exo-open --launch TerminalEmulator $0; exit; fi | |
ssh XXXX@XXXX.rubenwardy.com <<'ENDSSH' | |
echo "$ cd .minetest/games/capturetheflag" | |
cd .minetest/capturetheflag | |
echo "$ git pull origin master" | |
git pull origin master | |
echo "$ git submodule update mods/ctf_pvp_engine" | |
git submodule update mods/ctf_pvp_engine | |
echo "$ cd mods/ctf_pvp_engine" | |
cd mods/ctf_pvp_engine | |
echo "$ git pull origin master" | |
git pull origin master | |
echo "$ cd ../../" | |
cd ../../ | |
echo "$ ./build.sh ../games/capturetheflag" | |
./build.sh ../games/capturetheflag | |
ENDSSH | |
echo "Press [Enter] key to exit..." | |
read |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment