Hello,
I'd like to create a simple script that would run the following commands:
Code:
$ cd /home/junior/Documents/Jogos/FlightGear/Jogo/simgear/simgear
$ git pull
$ cd
$ cd /home/junior/Documents/Jogos/FlightGear/Jogo/fgrun
$ git pull
$ cd
$ cd /home/junior/Documents/Jogos/FlightGear/Jogo/fgfs/flightgear
$ git pull
$ cd
$ cd Documents/Jogos/FlightGear/Jogo/install/fgfs/fgdata
$ git pull
EDIT: Didn't think it was going to work, but it did. The script:
Code:
cd /home/junior/Documents/Jogos/FlightGear/Jogo/simgear/simgear
git pull
cd
cd /home/junior/Documents/Jogos/FlightGear/Jogo/fgrun
git pull
cd
cd /home/junior/Documents/Jogos/FlightGear/Jogo/fgfs/flightgear
git pull
cd
cd Documents/Jogos/FlightGear/Jogo/install/fgfs/fgdata
git pull
Code:
[junior@junior Others]$ ./FG.sh
Already up-to-date.
Already up-to-date.
Already up-to-date.
Already up-to-date.
[junior@junior Others]$