mirror of
https://github.com/scummvm/dockerized-bb.git
synced 2026-06-20 05:46:00 +00:00
11 lines
154 B
Bash
11 lines
154 B
Bash
do_git_fetch () {
|
|
if [ -d "$1"*/ ]; then
|
|
rm -rf "$1"*/
|
|
fi
|
|
git clone "$2" "$1"
|
|
cd "$1"*/
|
|
git checkout "$3"
|
|
git submodule update --init
|
|
do_patch
|
|
}
|