Add get_gamepacks.sh, which updates and clones (if not present) src files and scripts for some example games and mods
This commit is contained in:
parent
12286e5032
commit
ab8f1f3a81
2 changed files with 24 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
./build_engine.sh
|
||||
./get_gamepacks.sh
|
||||
./build_game.sh
|
||||
./build_editor.sh
|
||||
|
|
23
get_gamepacks.sh
Executable file
23
get_gamepacks.sh
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
SCRPATH="$( cd "$( dirname $(readlink -nf $0) )" && pwd )"
|
||||
|
||||
grab_mod()
|
||||
{
|
||||
if [ -f "$SCRPATH/$1"/LICENSE ]; then
|
||||
cd "$SCRPATH/$1"
|
||||
git pull
|
||||
else
|
||||
cd "$SCRPATH"
|
||||
git clone "$2" "$1"
|
||||
fi
|
||||
}
|
||||
|
||||
grab_mod gearbox https://www.github.com/eukara/freegearbox
|
||||
grab_mod rewolf https://www.github.com/eukara/freegunman
|
||||
grab_mod poke646 https://www.github.com/eukara/freepoke646
|
||||
grab_mod tfc https://www.github.com/eukara/freetfc
|
||||
grab_mod scihunt https://www.github.com/eukara/freesci
|
||||
grab_mod hunger https://www.github.com/eukara/freehunger
|
||||
grab_mod valve https://www.github.com/eukara/freehl
|
||||
grab_mod cstrike https://www.github.com/eukara/freecs
|
Loading…
Reference in a new issue