File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,10 @@ if [ -d $OFS_DIR ]; then
3434 echo " >> OpenFunscripter Source already downloaded (Updating...)"
3535 pushd $OFS_DIR
3636 git pull
37- git submodule update
37+ git submodule update --init
38+ pushd $OFS_DIR /lib/EASTL
39+ git submodule update --init
40+ popd
3841else
3942 mkdir -p ` dirname $OFS_DIR `
4043 echo " >> Clone OpenFunscripter Source"
4750 echo " >> OpenFunscripter Source downloaded to $OFS_DIR "
4851fi
4952
53+ if [ " $arg1 " != " --latest" ]; then
54+ echo " Checkout latest OpenFunscripter release"
55+ git checkout $( git describe --tags ` git rev-list --tags --max-count=1` )
56+ # git checkout 1.4.4
57+ git submodule update --init
58+ pushd $OFS_DIR /lib/EASTL
59+ git submodule update --init
60+ popd
61+ else
62+ echo " Use latest git commit (only for developers!)"
63+ fi
64+
5065echo " >> Build OFS"
5166rm -rf build
5267mkdir -p build
You can’t perform that action at this time.
0 commit comments